Version 3.03
It is possible to specify as parameter 3 ( FROM - ie Sender ) not only the eMail address but also the name ( ie something like "Name Surname" <name.surname@isv.com> ) ?
TIA
SendSmtpMail
Re: SendSmtpMail
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html
Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
Re: SendSmtpMail
It doesnt work, even removing "" from name as you suggest I alway get return code 14.. (even if I only put <name.surname@isv.com> , only a plain email address seem to work)
P.S. can you give more information also of retCode meanings (I suppose 13=network error - happens when firewall i blocking - 14 = malformed eMail)
P.S.2 can we use HTML data for szMessage ?
I'm using C++ not maged code in VS2008 SP1 and Amyuni suite 3.03
P.S. can you give more information also of retCode meanings (I suppose 13=network error - happens when firewall i blocking - 14 = malformed eMail)
P.S.2 can we use HTML data for szMessage ?
I'm using C++ not maged code in VS2008 SP1 and Amyuni suite 3.03
Davide Zaccanti
Re: SendSmtpMail
Hello
Specifying an friendly name is a feature that is not implemented in the SendSmtpMail function. This is a feature that is scheduled for inclusion in future versions of the product. Unfortunately, it is NOT implemented in the current 3.03 product.
The SendSmtpMail function returns 0 if successful or an SMTP specific error code if an error occurs when sending the email. Below is a list of some of the most common SMTP return codes.
ERR_SUCCESS 0
ERR_INITIALIZE_INITIALIZED 10
ERR_INITIALIZE_WINSOCKVERSION 11
ERR_SHUTDOWN 12
ERR_CONNECTING 13
ERR_HANDSHAKING 14
ERR_RECIPIENT 15
ERR_DATA 16
ERR_QUIT 17
ERR_NOTFOUND 18
ERR_INSUFFICIENTRESOURCES 20
The SendSmtpMail function can only send the message as plain text. It cannot send the data as HTML.
Hope that helps?
David
Specifying an friendly name is a feature that is not implemented in the SendSmtpMail function. This is a feature that is scheduled for inclusion in future versions of the product. Unfortunately, it is NOT implemented in the current 3.03 product.
The SendSmtpMail function returns 0 if successful or an SMTP specific error code if an error occurs when sending the email. Below is a list of some of the most common SMTP return codes.
ERR_SUCCESS 0
ERR_INITIALIZE_INITIALIZED 10
ERR_INITIALIZE_WINSOCKVERSION 11
ERR_SHUTDOWN 12
ERR_CONNECTING 13
ERR_HANDSHAKING 14
ERR_RECIPIENT 15
ERR_DATA 16
ERR_QUIT 17
ERR_NOTFOUND 18
ERR_INSUFFICIENTRESOURCES 20
The SendSmtpMail function can only send the message as plain text. It cannot send the data as HTML.
Hope that helps?
David
Amyuni Custom Development
Do you need a specific PDF solution? Are you looking for expertise that will enable you to start or complete a PDF integration project?
http://www.amyuni.com/en/company/services.php
Do you need a specific PDF solution? Are you looking for expertise that will enable you to start or complete a PDF integration project?
http://www.amyuni.com/en/company/services.php