Skip to content
Snippets Groups Projects
Commit 83d34a24 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

first small steps towards smtp

parent 76b3c9d7
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......@@ -1015,7 +1023,7 @@ sub customize {
my @welcome;
if($proto eq "ftp") {
if(($proto eq "ftp") || ($proto eq "smtp")) {
@welcome=(
'220- _ _ ____ _ '."\r\n",
'220- ___| | | | _ \| | '."\r\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment