Inconsistent Mail Error on Server: "Unable to send email using PHP mail()" |
[eluser]djreed[/eluser]
So - I am having a really weird issue! I am trying to send an email with Codeigniter's Email Library. It works fine locally, but for some reason I keep getting the following error when I test it live on my Lunarpages server: Quote:Unable to send email using PHP mail(). Your server might not be configured to send mail using this method. Here's where it gets really weird - the code I am using is almost identical to what I am using in another Controller on another part of this very server - and the mail works fine there! The <b>only difference</b> is that this new Controller is on a <b>domain parked to a subdirectory</b> of this same server, whereas the original controller is on the <b>main directory and main domain</b> of the server. The only thing I can imagine is that this is causing the problem. Hopefully somebody has some clues here that understands SMTP better than I. Here is the code: Code: $config['mailtype'] = 'html'; Any help would be greatly appreciated! If you need clarification on this, don't hesitate to ask. |
Messages In This Thread |
Inconsistent Mail Error on Server: "Unable to send email using PHP mail()" - by El Forum - 04-08-2010, 01:29 AM
Inconsistent Mail Error on Server: "Unable to send email using PHP mail()" - by El Forum - 04-08-2010, 03:19 AM
Inconsistent Mail Error on Server: "Unable to send email using PHP mail()" - by El Forum - 04-10-2010, 04:41 PM
|