Php and sendmail problem

Status
Not open for further replies.

sourabhj

New Member
Messages
138
Reaction score
0
Points
0
Hi everyone,
Since yesterday iam facing problem with sendmail (phpmail) and i get the following message when i try to send message using phpmail or from webmail and the message is as follows :---------------

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
username@gmail.com
unrouteable mail domain "gmail.com"


------------
my website address is http://www.nidhidatasystems.x10hosting.com
Please help me!!
Thanks
Sourabhj
 

giannino

New Member
Messages
5
Reaction score
0
Points
0
I have the same problem !
All INBOX and OUTBOX email was not send!
@gmail.com , @hotmail.com, @libero.it etc etc.
 
Last edited:

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Looks like smtp is down...itll have to br brought back up.
 

MLeeper

New Member
Messages
33
Reaction score
0
Points
0
I'm having similar issues with sendmail (phpmailer). It seems to have began on Sunday. Worked fine before that and there were no changes to my sites configuration.

:cool:

Thanks!
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
I'm checking into it now.

-Corey
 

Kansy

Community Advocate
Community Support
Prime Account
Messages
2,621
Reaction score
9
Points
38
I have the same problem it means that is still down?
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
What isn't working? SMTP, PHP Mail?
 

DizzyTechnology

New Member
Messages
500
Reaction score
0
Points
0
Neither. Using the mail() function, I try to send mail. It creates no reaction at all, and when I open my webmail (for my default account, which I have not done in months) iti s filled with unrouteable domain errors. It even gives one for my own site (dizzytechnology.com)!
 

Chris Z

Active Member
Messages
5,603
Reaction score
0
Points
36
ya, i am confused, i set up my MX Records and everything, and the only email i can receive is from myself when setting up outlook
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
In your script, whatever it is (The one attempting to use mail()), change the line calling mail() to:

PHP:
var_dump(mail([Your 'receiver'], [Your 'subject'], [Your 'body'], [.. Headers, if you have them));

For example if you have:
PHP:
..
mail('Example@Example.com', 'Example', 'This is an example.', "From: Bryon\r\n");
// Or
mail($to, $subject, $body, $headers);
..

'Enclose' the mail function in var_dump():
PHP:
..
var_dump(mail('Example@Example.com', 'Example', 'This is an example.', "From: Bryon\r\n"));
// Or
var_dump(mail($to, $subject, $body, $headers));
..

After doing that, run the script and post back any and all output from it here.
 

DizzyTechnology

New Member
Messages
500
Reaction score
0
Points
0
The script outputs "bool(true)".

In Horde, my default account (cPanel's zacwal) keeps kicking back unrouteable domain errors.
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
DizzyTechnology said:
The script outputs "bool(true)".

In Horde, my default account (cPanel's zacwal) keeps kicking back unrouteable domain errors.

Okay, thanks. I wanted to make sure mail() was at least returning true. I'm looking more into this now.
 
Status
Not open for further replies.
Top