Page 1 of 1

Send mails to external addresses?

Posted: Fri Aug 24, 2007 9:13 am
by tb@djh.dk
Script URL: helpdesk.djh.dk
Version of script: 0.94
Hosting company: djh.dk
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Tried changing hosts and hostconfig files

Write your message below:
HI

I am not able to get hesk to send e-mails to external e-mails?
Any good ideas

i have this from the smtp logfile

Posted: Fri Aug 24, 2007 9:25 am
by tb@djh.dk
225.180.25
2007:08:24-10:50:12 (none) exim[1013]: 2007-08-24 10:50:12 1IOUrr-0000GL-UL <= www@localhost.localhost H=(localhost) [130.225.180.25] P=esmtp S=1259 id=20070824085009.0D87E9A23E@localhost
2007:08:24-10:50:12 (none) exim[1014]: 2007-08-24 10:50:12 1IOUrr-0000GM-VY <= www@localhost.localhost H=(localhost) [130.225.180.25] P=esmtp S=1193 id=20070824085010.1312A9A23F@localhost
2007:08:24-10:50:12 (none) exim[1018]: 2007-08-24 10:50:12 1IOUrr-0000GM-VY => helpdesk@djh.dk R=static_route T=static_smtp H=130.225.180.102 [130.225.180.102]
2007:08:24-10:50:12 (none) exim[1018]: 2007-08-24 10:50:12 1IOUrr-0000GM-VY -> tb@djh.dk R=static_route T=static_smtp H=130.225.180.102 [130.225.180.102]
2007:08:24-10:50:12 (none) exim[1018]: 2007-08-24 10:50:12 1IOUrr-0000GM-VY Completed
2007:08:24-10:50:12 (none) exim[1017]: 2007-08-24 10:50:12 1IOUrr-0000GL-UL ** nim@mail.djh.dk R=static_route T=static_smtp: SMTP error from remote mailer after MAIL FROM:<www@localhost.localhost> SIZE=2336: host 130.225.180.20 [130.225.180.20]: 572 www@localhost.localhost host name is unknown
2007:08:24-10:50:12 (none) exim[1031]: 2007-08-24 10:50:12 1IOUrs-0000Gd-DZ <= <> R=1IOUrr-0000GL-UL U=exim P=local S=2211
2007:08:24-10:50:12 (none) exim[1017]: 2007-08-24 10:50:12 1IOUrr-0000GL-UL Completed
2007:08:24-10:50:12 (none) exim[1032]: 2007-08-24 10:50:12 1IOUrs-0000Gd-DZ ** www@localhost.localhost: Unrouteable address
2007:08:24-10:50:12 (none) exim[1032]: 2007-08-24 10:50:12 1IOUrs-0000Gd-DZ Frozen (delivery error message)

Posted: Mon Aug 27, 2007 11:15 am
by Klemen
See if you can send it from
http://www.phpjunkyard.com/extras/email_test.zip

Open it, edit From and To addresses and see if the e-mail comes if you set To to an external e-mail.

Also make sure PHP scripts have the permission to send e-mails to non-local domains (usually they run as user "Nobody").

Posted: Fri Oct 26, 2007 11:45 am
by willie147
I can't get it to send E-Mails at all. How would one check the PHP permissions?

Posted: Fri Oct 26, 2007 11:54 am
by willie147
I tried to run the above script and it says "E-Mail Sent" but no mails are ever received. ? Anyone?

Posted: Fri Oct 26, 2007 1:16 pm
by Klemen
Contact your host and ask if mail() is working correctly for PHP and if there are any limitations.

If you host it yourself check settings inside php.ini.

That's the best I can say without you providing any related information.