Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #4897

Re: Mail() function not working in PHP5

From "M. Strobel" <sorry_no_mail_here@nowhere.dee>
Newsgroups comp.lang.php
Subject Re: Mail() function not working in PHP5
Date 2012-02-18 22:54 +0100
Message-ID <9qal15Fnl0U1@mid.uni-berlin.de> (permalink)
References <b3c96175-1fdd-47f9-88e2-8b3628d7fb80@tc8g2000pbc.googlegroups.com>

Show all headers | View raw


Am 18.02.2012 18:20, schrieb Anuj Agarwal:
> 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

Adjust your settings so you get error messages from php, then see if you can find
error messages in /var/log/apache2/error.log

Then look at /var/log/mail.info. Something there?

Make sure mail that bounces back gets directed to a mailbox where you can find it.

/Str.

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Mail() function not working in PHP5 Anuj Agarwal <coolbuddyguy@gmail.com> - 2012-02-18 09:20 -0800
  Re: Mail() function not working in PHP5 The Natural Philosopher <tnp@invalid.invalid> - 2012-02-18 17:42 +0000
  Re: Mail() function not working in PHP5 Michael Vilain <vilain@NOspamcop.net> - 2012-02-18 11:40 -0800
  Re: Mail() function not working in PHP5 Jerry Stuckle <jstucklex@attglobal.net> - 2012-02-18 15:38 -0500
  Re: Mail() function not working in PHP5 "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-02-18 22:54 +0100

csiph-web