PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
Hi,
Facing a very serious problem. I am sending mail thru php when i send mail on yahoo or hotmail its works fine...my code is like this
but when i want to send mail on lycos account and change anurag_shr@yahoo.com to anuragshr@lycos.co.uk ..nothing happen and i didnt get mail.
Please help.
Regards
Anurag
I would guess that Lycos threw it away saying it's spam. Getting an email past spam filters can be a challenge, and usually involves setting very specific headers (unfortunately, they are slightly different for every host) Experimentation is in order. Figure out through trial and error what headers work and what headers don't. If you don't want to spend that time, use a mailing tool such as phpMailer, which has often works out of the box. If it doesn't it could be that Lycos has your server or servers you pass through on a blacklist or other lists..
Hi feyd,
Thanks for reply, I already tried with phpmailer class, just to ease in copying my code in forum i have removed mailer class references, otherwise i am using mailer class but it is also not working. You wrote to play with header can you tell me some set of combination for the same.
Thanks and Regards
Anurag
anuragshr wrote:Hi feyd,
Thanks for reply, I already tried with phpmailer class, just to ease in copying my code in forum i have removed mailer class references, otherwise i am using mailer class but it is also not working. You wrote to play with header can you tell me some set of combination for the same.
Thanks and Regards
Anurag
Send an email from your Mail client such as Thunderbird to Lycos, then view the message source to see the headers that were sent.
EDIT | Hopefully non-invasive, but do you mind if I ask what the purpose of the mail is. Advertising stuff with HTML content especially is easily caught by blockers such as SpamAssassin.
EDIT 2 | If you PM me I can also let you know if your domain is in a blacklist or what my SpamAssasin reports about these mails to myself
Hi,
Thanks for reply , just sent a pm to you. Actually we are using mail process in our ecom software but there it is not woring for lycos, thus as a test and RnD purpose i am writing a separate code on same server.
Thanks and Regards
Anurag
There could be lots of causes for this problem. You need to supply more information.
Look at the mailserver queue and see why these messages are not being delivered.
A mailserver which is set up to do DNS MX record lookup will fail with Lycos because
Lycos does not return an MX record. What webserver are you using? How is mail
relaying setup?