I am using mimemail api to sending emails, it works really great.
But now I stuck at the problem where emails sent by mimemail goes into the spam mail.

eg:

$sender    = 'senderemail@gmail.com';
$recipient = 'my_email_id@gmail.com'; // I checked this on gmail
$subject    = 'test subject';
$body       = 'test mail body';

mimemail($sender, $recipient, $subject, $body);

-- but this mail goes into the span listing on gmail.

Is there any solution to avoid this Spam label or any optional module?

Comments

Rajan M’s picture

anyone here?

Patroclas’s picture

Have you exceeded gmail's sending limits? How many messages are you sending at one time and are you sure that the content is not triggering spam filters?

Rajan M’s picture

No, I am not exceeding gmail limit.
Even single email goes to the spam, an example which I have given above also goes to the spam listing :( .

Any idea/suggestions ?

Rajan M’s picture

bump

peterjaap’s picture

Take a look at SPF records; http://www.google.com/support/a/bin/answer.py?hl=en&answer=33786

That might solve your problem.

Rajan M’s picture

I wasted my lot of time to find out the solution. Finally I got the solution is to configure webmail server.

Thanks a lot.

agnihotri’s picture

Hello there, I too am having mails sent out from my home server(Ubuntu/Postfix) going into spam. How did you configure your mail? Care to share?

Thanks,
AA

peterjaap’s picture

Are you sure you have allowed your home server to send mail from your domain? You have to specify an SPF record in your DNS settings, see my link above.