Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
PHP sendmail only emails to local server???
Old 09-02-2008, 08:00 PM PHP sendmail only emails to local server???
Novice Talker

Posts: 7
Name: Mike
Trades: 0
Hi,

Anybody know why my PHP sendmail will only send messages to email accounts on the same server? Emails arrive ok in my accounts on the server but will not send out to an email account hosted elsewhere?

Cheers,
Mike
rssniches is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-03-2008, 01:03 AM Re: PHP sendmail only emails to local server???
mtishetsky's Avatar
King Spam Talker

Posts: 1,226
Name: Mike
Location: Mataro, Spain
Trades: 0
Nobody can know this. All mindreaders are on vacations.

Check your /var/log/maillog.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

And don't forget to give me talkupation!
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
Old 09-03-2008, 06:00 AM Re: PHP sendmail only emails to local server???
Novice Talker

Posts: 7
Name: Mike
Trades: 0
Will do. But are there any configuration settings that could cause this?

Cheers
rssniches is offline
Reply With Quote
View Public Profile
 
Old 09-03-2008, 11:17 AM Re: PHP sendmail only emails to local server???
Junior Talker

Posts: 3
Name: Tom
Trades: 0
Mike, paste your php code in that does the mailing. I've had problems with this in the past, especially with global accounts like hotmail and yahoo ... for me, it was a matter of sending the right mail headers to get the messages to go through.

-Tom
qwarktastic is offline
Reply With Quote
View Public Profile
 
Old 09-03-2008, 12:00 PM Re: PHP sendmail only emails to local server???
Skilled Talker

Posts: 85
Name: Ilyes Rhouma
Trades: 0
I had the same problem before.
I think the problem is in your script or some few php global parameters, not on the server, because after the mail() function didn't work for me ( it returns true, but don't send anything) I installed Joomla, and Joomla was able to send messages ! So check out your script
__________________
Want a cheap and custom programmer or writer ?
Please login or register to view this content. Registration is FREE

Are you
Please login or register to view this content. Registration is FREE
? Start
Please login or register to view this content. Registration is FREE
free and earning money !
Please login or register to view this content. Registration is FREE
Ilyes is offline
Reply With Quote
View Public Profile Visit Ilyes's homepage!
 
Reply     « Reply to PHP sendmail only emails to local server???
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.34823 seconds with 12 queries