weird mail() problem with PHP, Apache and WinXP

weird mail() problem with PHP, Apache and WinXP

Post by Natha » Thu, 09 Oct 2003 01:46:45


Hi.

I'm getting a weird email problem. Basically sometimes mail() will work
and sometimes it won't. It displays no errors, however some emails get
sent, and others don't.

It seems to be down to the email address. Mails get sent to some email
addresses fine, whereas other email addresses, they just don't arrive as if
they were never sent. It's weird and I can't think why.

Anyone know what could be happening?

I'm using Apache and PHP on Windows XP.

--
Nathan.
XBL Gamertag: Cowfield
http://www.yqcomputer.com/
Bow to the Cow!
 
 
 

weird mail() problem with PHP, Apache and WinXP

Post by Janwillem » Thu, 09 Oct 2003 05:38:35


"Nathan" < XXXX@XXXXX.COM > schreef in bericht

if

My guess would be a spam filter on the recepient's side. Especially
HTML-only mail is often marked as spam, as is mail with incomplete headers.


JW

 
 
 

weird mail() problem with PHP, Apache and WinXP

Post by Natha » Thu, 09 Oct 2003 06:26:32

See Janwillem Borleffs in my Benz and ting


Perhaps that's it. I mean I haven't been bothering with that...

--
Nathan.
XBL Gamertag: Cowfield
http://www.yqcomputer.com/
Bow to the Cow!
 
 
 

weird mail() problem with PHP, Apache and WinXP

Post by Natha » Thu, 09 Oct 2003 06:31:18

See Janwillem Borleffs in my Benz and ting


Thanks, but would this happen by the actual mail server (as opposed to some
sort of killfile or something)?

The mails don't even seem to be coming in to the pop box.

--
Nathan.
XBL Gamertag: Cowfield
http://www.yqcomputer.com/
Bow to the Cow!
 
 
 

weird mail() problem with PHP, Apache and WinXP

Post by szar » Thu, 09 Oct 2003 09:39:35


some

Nathan, I had this problem some time ago and it was as JW said, the messages
were being filtered my the mail server. In some cases they got through,
sometimes they'd reach the client and end up in their junk mail, and
sometimes just dissappear altogether. I can't find the script but I remember
I changed the x-mailer line in the header to look as though it was from
outlook/outlook express and I had more success. Good luck.
Steve
 
 
 

weird mail() problem with PHP, Apache and WinXP

Post by Desmond Wo » Thu, 09 Oct 2003 17:22:00

Yes, I hard heard something like that as well, that depending on where you
are sending the email out from, you may need to add in headers as mail
servers may reject malformed or missing headers, in an attempt to filter
spam.

If I find the reference I will post it here. I have a feeling that tip came
from my php book...

Des.





messages
remember
 
 
 

weird mail() problem with PHP, Apache and WinXP

Post by Natha » Fri, 10 Oct 2003 06:44:58

See Desmond Wong in my Benz and ting


Ooh that would help thanks. I'll have a search on the net for the headers.
It's been a bit annoying as basically, all the mails sent to myself arrive
fine, but not to the client (who basically says it's not working when I
hadn't a clue). D'oh!

Thanks again for the replies.

--
Nathan.
XBL Gamertag: Cowfield
http://www.yqcomputer.com/
Bow to the Cow!