mail() works, this doesn't
Posted: Mon Jan 18, 2010 4:44 pm
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.
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.