mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
tests: Added SMTP HELP test
This commit is contained in:
parent
3c8c9b2779
commit
df58084695
3 changed files with 42 additions and 3 deletions
|
|
@ -999,10 +999,10 @@ sub HELP_smtp {
|
|||
sendcontrol "214-This server supports the following commands:\r\n";
|
||||
|
||||
if(@auth_mechs) {
|
||||
sendcontrol "214 HELO EHLO RCPT DATA RSET MAIL QUIT HELP AUTH\r\n";
|
||||
sendcontrol "214 HELO EHLO RCPT DATA RSET MAIL VRFY EXPN QUIT HELP AUTH\r\n";
|
||||
}
|
||||
else {
|
||||
sendcontrol "214 HELO EHLO RCPT DATA RSET MAIL QUIT HELP\r\n";
|
||||
sendcontrol "214 HELO EHLO RCPT DATA RSET MAIL VRFY EXPN QUIT HELP\r\n";
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue