Jump to content

PHP mail issue


webdev999

Recommended Posts

Hi All,

I am using php mail function to send emails.

But email sending 20 minutes late (i.e receiving 20 minutes after executing mail script) .

 

The email body having URL "http://www.i-videos.in/test-event" .

If i removed that URL from email body then email will receiving instantly.

 

Is the email getting slow because of body email ?

 

Could any one help regarding this issue asap?

 

Thanks in advance...

Link to comment
https://forums.phpfreaks.com/topic/292958-php-mail-issue/
Share on other sites

The email service could be potentially marking them as spam.

 

Have a look at phpmailer

 

Is actually a lot to try to ensure all your emails go through.

 

This is some helpful tips about emails

http://www.rackaid.com/blog/spam-blacklist-removal/

 

https://sendgrid.com/blog/10-tips-to-keep-email-out-of-the-spam-folder/

Link to comment
https://forums.phpfreaks.com/topic/292958-php-mail-issue/#findComment-1498958
Share on other sites

Hi QuickOldCar,

 

I tried both PHPMailer classs and php mail() funtion to send an email.

In both cases i am getting 20 minutes late to receive email (iff my email body having "http://www.i-videos.in/test-event" URL).

If email body not having that URL then i received the email instantly.

 

Could you tell me the reason for this issue?

 

Thanks ...

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/292958-php-mail-issue/#findComment-1498959
Share on other sites

The email service could be potentially marking them as spam.

 

Maybe the email provider has to scour through a huge list first, not sure but is most likely their end and not yours.

 

Did you read any the urls i posted with having more than a link in an email, have other content as well

 

They all have their own systems for checking emails, is hard but have to work out which methods send more reliable.

Link to comment
https://forums.phpfreaks.com/topic/292958-php-mail-issue/#findComment-1498960
Share on other sites

How many different email providers have you tried sending email to, like to gmail, yahoo, some other ISP? Each one will have their own criteria for spam filters, etc. Some might go through immediately, some might get delayed. It could also have to do with the reputation of the IP that you are sending the email from (host).

Link to comment
https://forums.phpfreaks.com/topic/292958-php-mail-issue/#findComment-1498983
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.