Replacing mail() function?
Posted: Wed Mar 05, 2008 7:06 am
Is there a way to wrap or redirect PHP's native mail() function so it would use Swift Mailer instead?
Most PHP apps use mail(). Can you redirect them, or have Swift Mailer pose as mail()?
Our goal is to avoid using sendmail altogether. Would Swift Mailer achieve this?
I'm quite a PHP newbie so examples would be great. Thanks.
Marcus
Most PHP apps use mail(). Can you redirect them, or have Swift Mailer pose as mail()?
Our goal is to avoid using sendmail altogether. Would Swift Mailer achieve this?
I'm quite a PHP newbie so examples would be great. Thanks.
Marcus