I used the structure from the post #9, taking into account post #11 (especially the second note). I am successfully connecting to the server and sending it those "lines" until it comes to send line number 7 (function PutSendLine(), case 7) - it's an actual message. After this line:
I'm receiving such a response from a server:Qt Code:
response = SendLineAndGrab(message+"\r\n.");To copy to clipboard, switch view to plain text mode
I have tried to remove the date (by commenting one of the first lines in smtp.cpp), but then I received similar response but this time it was aobut "User-Agent: Mozilla Thunderbird 1.0.6..."."550 5.5.2 Unknown command 'Date: Mon, 8 Mar 2010 15:54:26'
Why is the server sending such responses? How to make it work?
Bookmarks