I am unable to send emails, and there are no errors being generated or
populated in the $php_errormsg variable, since I enabled track errors in the
php.ini. So I have no idea why the mail send is failing. Am I supposed to
specify
a mail server to use for sending mail? My sendmail was setup automati
Thanks!
>
> Ryan
>
> -Original Message-
> From: Michael Geier, CDM Systems Admin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 02, 2001 10:57 AM
> To: Shrout, Ryan
> Subject: RE: [PHP] mail function fails
>
>
> RPM's tend to hose installations. Ma
ppear that sendmail is not configured to allow others to use
it? Is there a quick easy way to fix this?
Thanks!
Ryan
-Original Message-
From: Michael Geier, CDM Systems Admin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 10:57 AM
To: Shrout, Ryan
Subject: RE: [PHP] mail function
hmmm...
i just copied your code and changed the email address to mine and it
worked. $message was set to 'blah'.
this tells me you either have a problem with your email address or
$message.
why don't you echo $message along with "Email NOT sent!".
mail messages are particular about
Darn, still didn't work.
Anyone else have a suggestion? Or a way to view an error message of some
kind?
Ryan Shrout
-Original Message-
From: Tim Taubert [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 9:51 AM
To: PHP Mailingliste
Subject: RE: [PHP] mail function fails
ginal Message-
From: Shrout, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 3:30 PM
To: PHP Mailingliste
Subject: RE: [PHP] mail function fails
I tried that in this format:
if ( mail("[EMAIL PROTECTED]", "Quote Request", $message, "From:
[EMAIL PROTECTED]
mail NOT sent and no emails go anywhere. Is there
another solution? How about a way to get an error message of some kind?
Ryan
-Original Message-
From: Tim Taubert [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 9:09 AM
To: PHP Mailingliste
Subject: RE: [PHP] mail function fail
ert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/
-
-Original Message-
From: Shrout, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 3:01 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP] mail function fails
I am having a problem with the PHP mail() function. Here is the code:
if (mail ("[EMAIL PROTECTED]", "Quote Request", $message)) {
echo "Email sent!";
} else {
echo "Email NOT sent!";
}
Everytime, I receive the Email NOT sent message and the email isn't sent.
However, from the
9 matches
Mail list logo