mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
first small steps towards smtp
This commit is contained in:
parent
76b3c9d70f
commit
83d34a246e
@ -404,6 +404,14 @@ elsif($proto eq "imap") {
|
|||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
elsif($proto eq "smtp") {
|
||||||
|
%displaytext = ('EHLO' => '230 We are happy you popped in!',
|
||||||
|
'MAIL' => '200 Note taken',
|
||||||
|
'RCPT' => '200 Receivers accepted',
|
||||||
|
'QUIT' => '200 byebye',
|
||||||
|
'DATA' => '200 hit me',
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
sub close_dataconn {
|
sub close_dataconn {
|
||||||
@ -1015,7 +1023,7 @@ sub customize {
|
|||||||
|
|
||||||
my @welcome;
|
my @welcome;
|
||||||
|
|
||||||
if($proto eq "ftp") {
|
if(($proto eq "ftp") || ($proto eq "smtp")) {
|
||||||
@welcome=(
|
@welcome=(
|
||||||
'220- _ _ ____ _ '."\r\n",
|
'220- _ _ ____ _ '."\r\n",
|
||||||
'220- ___| | | | _ \| | '."\r\n",
|
'220- ___| | | | _ \| | '."\r\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user