fgokey / crashrpt

Automatically exported from code.google.com/p/crashrpt
0 stars 0 forks source link

CSmtpClient::SendEmailToRecipient - multipl send for one e-mail #202

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My Smtp server had problems to handel emails send piece by piece over smtp 
(Exchange and gmx).

To send a mail i had to change Line 597 - 664. Adding all sMsg parts to one 
large string and send all at once, with a single:
res = SendMsg(sock, sMsg, response, RESPONSE_BUFF_SIZE);

else i got a connection time out in line 797 and after that, an infinit loop 
because of pszResponse == NULL every time.
maybe a maxretry for the for(;;) would be nice.

Original issue reported on code.google.com by d.the...@sdz.de on 26 Apr 2013 at 8:43

GoogleCodeExporter commented 9 years ago

Original comment by zexspect...@gmail.com on 26 Apr 2013 at 1:01