Page 1 of 1

Php mail problem on lycos

Posted: Mon Jan 23, 2006 11:06 am
by anuragshr
feyd | Please use

Code: Select all

and

Code: Select all

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

Code: Select all

<?php
  echo("*****");
  $header = "From: anurag_shr@hotmail.com \r\n";
  $header = $header."Content-Type: text/html\r\n";
  $rt = mail("anurag_shr@yahoo.com", "to lycos test2", "to lycos test2", $header);
  echo("****$rt*************************");
?>
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


feyd | Please use

Code: Select all

and

Code: Select all

tags where appropriate when posting code. Read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]

Posted: Mon Jan 23, 2006 11:12 am
by feyd
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..

Posted: Mon Jan 23, 2006 12:26 pm
by anuragshr
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

Posted: Mon Jan 23, 2006 12:42 pm
by Chris Corbyn
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

Posted: Mon Jan 23, 2006 1:03 pm
by anuragshr
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

email problems

Posted: Sat Jan 28, 2006 11:29 pm
by Shaunw
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?

:)