FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Mail() function not working in PHP5
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Mail() function not working in PHP5 [message #177079 is a reply to message #177074] Sat, 18 February 2012 20:38 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 2/18/2012 12:20 PM, Anuj Agarwal wrote:
> Hi,
>
> I am working on Ubuntu 10.04 and trying to send the email using my
> website page. I have setup send mail to send emails. Also, i have
> tested that i can send an email from command line using mail command
> to my email id. But when i do it using php web page, it does not work.
>
> Can anybody solve this problem?
>
> Thanks,
> Anuj

A lot of possibilities here. The first question is - is your mail not
being sent, or is it not being delivered? Both are equally possible.
You need to determine which it is.

Your best bet to start out is your sendmail log and see which it is.
For instance, your MTA may require a login to send mail. It might
reject the mail due to incorrect headers. Alternatively, it could
easily be sending the mail but your receiving MTA is rejecting it for
some reason.

So you need to do more digging to see which it is.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bootstrap for php developers
Next Topic: Do I still CLI version of PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 18:46:13 GMT 2024

Total time taken to generate the page: 0.04178 seconds