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 #177078 is a reply to message #177074] Sat, 18 February 2012 19:40 Go to previous messageGo to previous message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma:
Member
In article
<b3c96175-1fdd-47f9-88e2-8b3628d7fb80(at)tc8g2000pbc(dot)googlegroups(dot)com>,
Anuj Agarwal <coolbuddyguy(at)gmail(dot)com> 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

"mail does not work" could mean a number of things. php's mail() is a
mail _client_ that submits a message to the local system's MTA. If the
MTA isn't running or not setup properly, the mail sits in the queue
undelivered unless it's local (e.g. mail() sends to root on the local
machine). The various log files will tell you just how far mail() is
working. My guess is that it is, but not somewhere the mail system
either mis-configured or not doing it's thing.

If you don't know or understand how mail works, chances are it's
somewhere outside of mail() control. Once it stuffs a message into the
mail system's queue, it's done. What happens after that is up to you to
figure out. Look at the log files (which ones are left to you to
research).

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
[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:37:09 GMT 2024

Total time taken to generate the page: 0.03860 seconds