Page 1 of 1

Swift Mailer & NativeMail

Posted: Wed Oct 04, 2006 2:06 pm
by Red5
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?

Posted: Wed Oct 04, 2006 5:08 pm
by Chris Corbyn
$swift->setReturnPath()

Have you done that? ;)

Posted: Wed Oct 04, 2006 5:20 pm
by Red5
I used:

Code: Select all

$mailer->addHeaders("Return-Path: user@example.com");
I wasn't aware of the other function. I'll try that instead.

Thanks. :-)

Posted: Sat Oct 07, 2006 10:40 am
by feyd
Moved to Swift-board.