Why is it that Gmail gets mail from mail() fine, but it never goes through to other mail services like hotmail and yahoo?
I've tried using just "From:"; I tried using some other headers (the mime type and character encoding), but that didn't work; I looked in the php manual and added just about every extra header I could find, tried it, and it still didn't work.
Name:
Anonymous2006-02-25 15:49
What is your situation and environment?
If you can, spare yourself the trouble of finding out which anti-spam test they do, and configure PHP to go through a well-configured SMTP server.
Name:
Anonymous2006-02-26 3:33
>>1
I'm betting because Hotmail and Yahoo use shitty and/or broken mail servers.
Name:
Anonymous2006-02-26 5:51
Dunno about Hotmail, but Yahoo's is pretty good.
Name:
Anonymous2006-02-26 5:54
BTW, some mail servers now implement a technique whereby they reject an email the first time around. This is because compliant mail servers will try again later, while non-compliant ones (aka spambots) usually do not.
Go read up on current antispam techniques. You may need to send an email twice (with a timegap in between), or use a seperate real mail server to forward what you're trying to send (and let it worry about resending instead).
Name:
Anonymous2006-02-27 4:11
>>1
Because most email clients suck, most email servers suck, most email libraries suck, and absolutely all of the email standard sucks. I've just given up trying to use email for anything, such a shitty protocol and unreliable service, now anything counts as spam except spam; it sucks for attachments and HTML, most clients have problems with character sets; you have to support 219049 encodings and character sets; a crappy email client will generate something weird in the headers and may even break a receiving webmail client, etc.
>>5 was insightful and more useful than my whining though.
Name:
Anonymous2006-03-02 1:44
The only antispam technique that works is driving to a spammer's home and bashing his skull in.
I can feel the shadows lurking I can feel them closing in I can hear their evil chanting [b]THIS IS NOT A DREAM AT ALL![/b]
Name:
pro-bro2009-11-10 20:54
Try configuring php to use a smtp server instead.
Php use sendmail by default which isn't (as I've realized the hard way) always setup correctly and can sometimes be very slow for some reason when using it for mass mailing. In my case it was the reason why my installation of the mantis bug-tracker used to hang for 2 minutes every time someone posted a bug.
>>11
there are people in russia who are quite willing to do the skull-bashing for you, for a reasonable fee.
Name:
Anonymous2009-11-11 3:32
Because PHP is a language with C syntax, written in C, but not self hosting and not as powerful as C with OO extentions not even close to C++'s OO extentions for C, with libraries written in C that can't even follow 1 single standard naming convention.
It really is a "language" for shit eating morons. So if you take issue with something it does, remeber it is complete shit written by morons for morons.