Send mails to external addresses?

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
tb@djh.dk
Posts: 12
Joined: Wed Aug 22, 2007 8:54 am

Send mails to external addresses?

Post 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
As always, thanks in advance :-)
tb@djh.dk
Posts: 12
Joined: Wed Aug 22, 2007 8:54 am

i have this from the smtp logfile

Post 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)
As always, thanks in advance :-)
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post 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").
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
willie147
Posts: 6
Joined: Thu Sep 13, 2007 9:14 pm

Post by willie147 »

I can't get it to send E-Mails at all. How would one check the PHP permissions?
willie147
Posts: 6
Joined: Thu Sep 13, 2007 9:14 pm

Post by willie147 »

I tried to run the above script and it says "E-Mail Sent" but no mails are ever received. ? Anyone?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply