Hi, What type of mail mechanism are you using? Do you really use sendmail or connect smtp server?
Yaron Kahanovitch ----- Original Message ----- From: "Chas Owens" <[EMAIL PROTECTED]> To: "Anish Kumar K" <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Sent: Thursday, April 12, 2007 4:28:23 PM (GMT+0200) Auto-Detected Subject: Re: Mails should not go in SPAM Box On 4/12/07, Anish Kumar K <[EMAIL PROTECTED]> wrote: > Hi > > Mails which are send by the perl script are usually found in the SPAM or > JUNK as a result most of the mails are not seen by the recipient. Is > there any way in the perl script we can set some Magical Header :) by > which the mail goes to INBOX only. First of all can we do in the perl > script or is it something I need to do in my Mail server. Please help... > > Thanks > Anish Which module are you using? Do emails sent from the command line also get flagged as SPAM? try putting the following text in a file named foo.email and then running "cat foo.email | /usr/bin/sendmail -t". to: [EMAIL PROTECTED] from: [EMAIL PROTECTED] subject: email from the command line This is a test of email from the command line. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/