i am not able to send an email using mail() function.Earlier i got the emails but in Spam but now i am not getting anythinng.I have installed Sendemail package in ubuntu,nothing is working fine.please help me.Thank you
Sending Email using PHP
Page 1 of 13 Replies - 1060 Views - Last Post: 08 August 2010 - 12:38 AM
Replies To: Sending Email using PHP
#2
Re: Sending Email using PHP
Posted 28 July 2010 - 06:49 AM
The mail() function only delivers the message to the server, returning whether or not the message was successfully delivered to the server. It does not guarantee whether or not the message will be sent and received by the intended recipient. Check the logs on the server and see if you have any errors or problems regarding mail().
#3
Re: Sending Email using PHP
Posted 08 August 2010 - 12:23 AM
If you were to post your code that you are using to send via PHP, we could ensure that is all correct prior to looking into issues with your server.
#4
Re: Sending Email using PHP
Posted 08 August 2010 - 12:38 AM
vanillacode, on 28 July 2010 - 07:18 AM, said:
Earlier i got the emails but in Spam but now i am not getting anythinng
Most likely you are sending email on a residential ISP service. Most ISP's assign residential service & commercial service customers separate subnet ip addresses, so that other ISP's can easily flag or even ignore email from non-commercial service.
So my guess is that whom ever you were seeing spam added your ip (or domain name) to their black list & are just dropping the network traffic completely. & as macosxnerd101 pointed out, the mail() function doesn't check for success or failure of the email, only the success or failure of sending the email to the mail server.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote







|