Is there any way to specify to use a remote smtp server in the php.ini
On Tue, 18 Feb 2003, Scott Fletcher wrote:
> Well, okay, even with the '\r\n' path, I still have problem. Here's the new script
>and I retested it.
>
> --clip--
> $message = "This is a test....";
>
> mail("[EMAIL PROTECTED]", "the subject", $message,
> "From: webmaster@$SERVER_NAME\r\n"
> ."Return-Path: [EMAIL PROTECTED]\r\n"
> ."Reply-To: webmaster@$SERVER_NAME\r\n"
> ."X-Mailer: PHP/".phpversion()."\r\n");
> --clip--
>
> So far, I never got the email at yahoo and I never got the email at abcoa.com.....
> "Adam Voigt" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Well your missing your \r\n at the end of your return path.
>
> On Tue, 2003-02-18 at 10:57, Scott Fletcher wrote:
> Here's the command...
>
> --clip--
> mail("[EMAIL PROTECTED]", "the subject", $message,
> "From: webmaster@$SERVER_NAME\r\n"
> ."Return-Path: [EMAIL PROTECTED]"
> ."Reply-To: webmaster@$SERVER_NAME\r\n"
> ."X-Mailer: PHP/" . phpversion());
> --clip--
>
> The bad thing is that when I send the mail. I never get an email back when
>something is not working right by using the return-path.
>
>
> "Adam Voigt" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Oh, ok, well how about your PHP code then (the actual mail() line)?
>
> On Tue, 2003-02-18 at 10:34, Scott Fletcher wrote:
> Here's is the response to the command, 'where sendmail'.
> >>bash: where: command not found
>
> So, I don't have a where command but I did the phpinfo() and it showed .....
>
> --clip--
> Directive || Local Value || master value
>
>--------------------------------------------------------------------------------------------------------
> sendmail_from || no value || no value
> sendmail_path || /usr/sbin/sendmail -t -i || /usr/sbin/sendmail -t -i
> --clip--
>
> I don't have email problem when I send email to anywhere, the only problem is
>the yahoo itself...
>
> Thanks...
> "Adam Voigt" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Umm, are you asking for Sendmail's path?
> It's usually /usr/bin/sendmail -t -i but you can verify where it is
> on your system by typing "where sendmail".
>
> On Tue, 2003-02-18 at 10:25, Scott Fletcher wrote:
> Hi!
>
> What is the appropriate filepath with the flag command for the sendmail on
> the UNIX machine?? I send an email to yahoo and got the error message which
> I'm going to paste it here...
>
> --clip--
> ----- The following addresses had permanent fatal errors -----
> [EMAIL PROTECTED]
>
> --- The transcript of the session follows ---
> ... while talking to mx2.mail.yahoo.com.:
> >>> MAIL From:<root@chevy> SIZE=40
> <<< 501 Syntax error in parameters or arguments
> 501 [EMAIL PROTECTED] Data format error
> --clip--
>
> One thing I know for sure is that the sendmail is working and that hte
> PHP code is working. I don't think I did the bad php command. Could it be
> the sendmail command be set wrong???
>
> Thanks,
> FletchSOD
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> Adam Voigt ([EMAIL PROTECTED])
> The Cryptocomm Group
> My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
> --
> Adam Voigt ([EMAIL PROTECTED])
> The Cryptocomm Group
> My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
>
--
Robin Mordasiewicz
416-207-7012
UNIX System Developer
Primus Canada
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php