icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Email » Function mail() in php

Email General questions, webmail, mailing lists.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old January 19th, 2008, 3:57 AM   #1 (permalink)
Registered User
Seasoned Poster
 
Joined in Nov 2004
30 posts
Gave thanks: 0
Thanked 0 times
Function mail() in php

Hello,
Very strange, I cannot send a mail from an application with the function mail(), it never arrive to the destinee. On my development machine (windows), my application work perfectly and the mail arrive. Did something has changed in Surpass' politics concerning mail() ? I am on a vps machine. Thanks
mouzaia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 19th, 2008, 5:18 AM   #2 (permalink)
Surpass Fan
On a golden path...
 
Neil's Avatar
 
Joined in Oct 2004
Lives in UK
355 posts
Gave thanks: 6
Thanked 13 times
Are you being explicit with the fields when you build then as in "MAIL FROM:<$sender>\r\n" .... ie. \r\n as Windows will allow mail() to work without the full \r\n but a Linux/PHP machine will not.
__________________
D17/D21/P59/P62/VPSX - "Faith can move mountains" (Faiths a big girl....) - I'm not paranoid, I know they are out to get me!
Neil is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 19th, 2008, 7:24 AM   #3 (permalink)
Registered User
Seasoned Poster
 
Joined in Nov 2004
30 posts
Gave thanks: 0
Thanked 0 times
Thanks Neil, /r/n everywhere where needed. In fact I wonder if my smtp on my vps is not really slow, it seems I receive the message 2 hours later. I know there is a way to see the waiting lists, I dont remember where, I will find. Thanks again.
mouzaia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

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