I am attempting to attach a HTML file as an attachment rather then in mail body in Windows 7. Receiving following response.
Error: Expected smtp code 250, got 541
Winsock error[0]: The operation completed successfully.
Error: Connection is closed unexpectedly
Could not send mail
I am attempting to attach a HTML file as an attachment rather then in mail body in Windows 7. Receiving following response.
Error: Expected smtp code 250, got 541 Winsock error[0]: The operation completed successfully. Error: Connection is closed unexpectedly Could not send mail
Command used is as follows.
e:\mailsend1 -smtp isbsmtp.ptcl.net -t kashif.memon@ptcl.net.pk -f "PTCL.RA&FMWing@ptcl.net.pk" -sub "Test" -attach "mailbody_int_graphtest.txt,text,i" -attach "Graph_IGE_Incoming_07292017.html,text/html,a"
Please help.