PHPMailer sendmail error

Status
Not open for further replies.

ikromm

New Member
Messages
20
Reaction score
0
Points
0
Greetings,

I'm trying to set up my site to send mails via the PHPMailer class that wraps the sendmail function available.

When the script tries to excecute /usr/sbin/sendmail, I get a "Could not execute error".
Has anyone experienced the same problem?

What could be wrong?

Thanks in advance
-ikromm
 

jtwhite

Community Advocate
Community Support
Messages
1,381
Reaction score
30
Points
0
I'm not 100% sure but that class may be disabled because a lot of people were sending spam out that way. You could try using the mail(); function instead.
 

ikromm

New Member
Messages
20
Reaction score
0
Points
0
I see.

Would connecting to an external server via SMTP work?
 

jtwhite

Community Advocate
Community Support
Messages
1,381
Reaction score
30
Points
0
I've never tried that before but I see no reason for it not to work.
 

jtwhite

Community Advocate
Community Support
Messages
1,381
Reaction score
30
Points
0
You're welcome. :)

Thanks for choosing x10hosting!
 
Status
Not open for further replies.
Top