| Email General questions, webmail, mailing lists. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#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 |
|
|
|
|
|
#2 (permalink) |
|
Surpass Fan
On a golden path...
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! |
|
|
|
|
|
#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.
|
|
|
|