mail() works, this doesn't

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
jack_indigo
Forum Contributor
Posts: 186
Joined: Sun Jun 08, 2008 11:25 pm

mail() works, this doesn't

Post by jack_indigo »

Hi, I like SwiftMailer, but am having trouble when used on a dev workstation instead of on a web hosting plan.

How do I debug what's going on? Is there a debug class method that will run a test for me? I can call the mail() function and it sends the mail out, but the Swift Mail API isn't working. It doesn't error out -- it just doesn't work. But if I stick on a web hosting plan, it works fine.

Note I'm running Ubuntu 8.04 and have the default mail config. So, when I say mail() is working, it's bouncing the mail to root and I'm picking up root's local mail with Thunderbird using Unix Movemail. It will say the mail bounced when I use mail(), but it works at least for me to do debugging before I push this on the production server. It just doesn't work when using Swift Mail API.
Post Reply