When run from inside controller and when in-memory spooling is configured via spool: { type: memory } swiftmailer seems to work like this: whenever from within controller mailer->send($message) …
Tag: smtp
phpmailer – The following SMTP Error: Data not accepted
I’m trying to figure out this issue for 6 hours. But there is nothing to make sense. Here is the scenario; There is a well formatted HTML template. Here is the array of recipients’ mails; Everything looks fine and email ready to send.Here is the phpmailer config; Everything is same when I test it. But sometimes email was sent. Sometimes
Codeigniter: SMTP mail not working
I’m trying to set up a contact form, and I’m struggling to get it working with the SMTP configuration in CI. However I’ve successfully tried with the basic ‘mail’ config. To cut it short, I’m doing …
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
How to get the message body from PHPMailer?
I use PHPMailer to send email via SMTP. It works, but it doesn’t save the sent emails in sent items. I want to make to sent emails in the sent items, any idea? I know can use imap_append function …
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
Sending email with gmail smtp with codeigniter email library
load->library(’email’); } function index() { $config[‘…