Hi,
I've experienced multiple timeouts when trying to use the SMTP connection object in Swift Mailer, so have resorted to using the NativeMail object instead - it works very well. However, I can't seem to add a "Return-Path" header using this method.
Any ideas?
Swift Mailer & NativeMail
Moderators: Chris Corbyn, General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
I used:
I wasn't aware of the other function. I'll try that instead.
Thanks.
Code: Select all
$mailer->addHeaders("Return-Path: user@example.com");Thanks.