I have created a script on mac OS X and it successfully sent an email to my gmail account but when i tried to use it to my hotmail account it didn’t work is it because hotmail uses a spam filter or what?
I used the same code with gmail and it worked but it didn’t work with hotmail.
Anybody knows what might have gone wrong??
Thanks in advance.
You’re using it directly from your own computer? Then yes, you may be reported as spam (sometimes, mails doesn’t even show up in the spam box)
Try to play with the headers (for example, “from” should be the same domain as your server), and avoid “spammy” words in content of the mail.