stoli php mail function returns FALSE

Status
Not open for further replies.

relay162

Member
Prime Account
Messages
67
Reaction score
1
Points
8
Hello. The php mail function seems not to be working on stoli server. When used, the mail function hangs for a long while and then eventually returns FALSE indicating the mail was not accepted for delivery. Used to work ok before Litespeed. Is anyone else experiencing this? Please help.
 

relay162

Member
Prime Account
Messages
67
Reaction score
1
Points
8
PHP:
<?php var_dump(mail('addr@domain','subject','message')) ?>
Returns bool(false). I'm sure this used to work before Litespeed. Am I missing something?
 
Last edited:

relay162

Member
Prime Account
Messages
67
Reaction score
1
Points
8
Today's testing has the mail function returning bool(true). However, no mail is received and nothing is logged in the php mail.log.
 

relay162

Member
Prime Account
Messages
67
Reaction score
1
Points
8
Re: stoli php mail function no mail received

PHP:
<?php ini_set('mail.log','mail_log') ?>
<?php var_dump(mail('addr@domain','subject','message')) ?>
Tested today. The mail function returns bool(true), but no mail is received and nothing is logged in the php mail.log. As far as I can tell php mail has not worked on stoli since the upgrade to Litespeed.
 
Last edited:

relay162

Member
Prime Account
Messages
67
Reaction score
1
Points
8
Re: stoli php mail function no mail received

So what I have determined is mail is not received only when using certain recipient domains. Specifically, delivery to hotmail domains seems unreliable.
 
Status
Not open for further replies.
Top