hi, I am trying to write a script "tell a friend" where people can forward the current url to some of there friend. Though I got some script from net but they are rewriting the header and than the mails are getting into yahoo bulk folder which I don't want(what's the use than) I want to send the mails from my domain itself . I hope I am clear what I want
For the "additional headers" parameter in the mail() function, you can just add something like: "From: You <youraddress@yourdomain.com>"
Only if people whitelist you. Otherwise, your message could end up in a bulk folder. A lot of people treat everything as potential spam unless it is sent by someone on their whitelist. Some people never read the contents of the potential spam folder. They just delete everything every few days. Others scam the message headers to see if there is some legitimate email in there.
mime type is also part of the extra headers. try filling all possible extra headers and you might get straight into the inbox Also the body message shouldn't contain stuff liek 'check this site out'. Anyway, good luck
I have filled all the headers as you suggested but could not get into the inbox yet.... Whats the issue now?
Try using PHP mailer. High possibility that your server is blacklisted. Make sure, you do not send more than 100 mails per hour/per domain. Hope that helps, mate