Skip to content
Advertisement

Tag: phpmailer

How to set DSN (Delivery Status Notification) for PHPMailer?

I’m trying to find out how to set DSN when using PHPMailer. I know at the SMTP Protocol level, the DSN is specified after RCPT TO, e.g. RCPT TO: NOTIFY=SUCCESS,FAILURE ORCPT=rfc822;recipientemail@gmail.com Also, I will like to direct the DSN to other than the sender address if that is possible. Appreciate any pointers, thanks. Answer I discovered that PHPMailer doesn’t support

PHPMailer could not connect to SMTP host

getting following error: SMTP -> ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: No such host is known. (0) SMTP Error: Could not connect to SMTP host. There was a problem sending this mail! This is my config file setting as I have followed this PHPMailer tutorial and used mailer class and an extended class as mentioned in tutorial

“SMTP Error: Could not authenticate” in PHPMailer

I’m using PHPMailer in a Simple Script For Send Email’s Through Gmail, and I’m getting an “Unknown Error” (At least for me!): SMTP Error: Could not authenticate. Error: SMTP Error: Could not authenticate. SMTP server error: 5.7.1 Username and Password not accepted. Learn more at 535 5.7.1 http://mail.google.com/support/bin/answer.py?answer=14257 p38sm2467302ybk.16 I’ve read about Configure OpenSSL For SSL/TLS Connections, and I did

Advertisement