To: [EMAIL PROTECTED]
Subject: Re: [PHP] Why do I keep getting a 501 mail error?
* Thus wrote Brian Dunning:
Developing on a Windows server to be deployed on Linux. I get SMTP
server response: 501 Bad address syntax. Here's my code:
$mail_from = 'My Name [EMAIL PROTECTED]';
$mail_server
Thanks very much to everyone for all the suggestions. I tried them all,
and even the most minimal stripped down attempt:
mail('[EMAIL PROTECTED]','Test','Test');
fails with a 501 error, Bad address syntax. This is on a Windows box.
Anything else I can try? Is it possible that there is some
Do you know what SMTP software they are running on the mailserver?
Nicke
-Original Message-
From: Brian Dunning [mailto:[EMAIL PROTECTED]
Sent: den 6 augusti 2004 17:32
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Why do I keep getting a 501 mail error?
Thanks very much to everyone
On Aug 6, 2004, at 8:35 AM, Nicklas Bondesson wrote:
Do you know what SMTP software they are running on the mailserver?
Just whatever IIS uses by default on my Windows box...
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Turns out I was doing one of these in my config file:
ini_set(sendmail_from, 'First Last [EMAIL PROTECTED]');
And there's that Windows-unfriendly format again. Thanks much to all
who showed me what to look for! :) :)
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Friday 06 August 2004 23:32, Brian Dunning wrote:
Thanks very much to everyone for all the suggestions. I tried them all,
and even the most minimal stripped down attempt:
See how much easier it is to get to the root of the problem with a stripped
down minimal example?
mail('[EMAIL
Brian Dunning wrote:
On Aug 6, 2004, at 8:35 AM, Nicklas Bondesson wrote:
Do you know what SMTP software they are running on the mailserver?
Just whatever IIS uses by default on my Windows box...
Sounds like it's not configured correctly.
Try doing the SMTP tutorial here
Developing on a Windows server to be deployed on Linux. I get SMTP
server response: 501 Bad address syntax. Here's my code:
$mail_from = 'My Name [EMAIL PROTECTED]';
$mail_server = 'mail.servername.com'; // This is hosted externally
ini_set(SMTP, $mail_server);
ini_set(sendmail_from,
keep getting a 501 mail error?
Developing on a Windows server to be deployed on Linux. I get SMTP
server response: 501 Bad address syntax. Here's my code:
$mail_from = 'My Name [EMAIL PROTECTED]';
$mail_server = 'mail.servername.com'; // This is hosted externally
ini_set(SMTP, $mail_server
On Friday 06 August 2004 01:05, Ed Lazor wrote:
Why are you specifying the To field twice? I'd try removing the extra
formatting around the email addresses for troubleshooting.
I would say strip the whole thing down to the bare minimum that illustrates
the problem.
--
Jason Wong - Gremlins
From: Brian Dunning [EMAIL PROTECTED]
Developing on a Windows server to be deployed on Linux. I get SMTP
server response: 501 Bad address syntax. Here's my code:
$mail_from = 'My Name [EMAIL PROTECTED]';
$mail_server = 'mail.servername.com'; // This is hosted externally
ini_set(SMTP,
Brian Dunning wrote:
Developing on a Windows server to be deployed on Linux. I get SMTP
server response: 501 Bad address syntax. Here's my code:
$mail_to = $first_name $last_name $email;
On Windows Platform, You cannot use the TO address in the form Name
address As it fails because the mail()
On Fri, 06 Aug 2004 00:57:32 +0200, Jordi Canals [EMAIL PROTECTED] wrote:
Brian Dunning wrote:
Developing on a Windows server to be deployed on Linux. I get SMTP
server response: 501 Bad address syntax. Here's my code:
$mail_to = $first_name $last_name $email;
On Windows Platform,
* Thus wrote Brian Dunning:
Developing on a Windows server to be deployed on Linux. I get SMTP
server response: 501 Bad address syntax. Here's my code:
$mail_from = 'My Name [EMAIL PROTECTED]';
$mail_server = 'mail.servername.com'; // This is hosted externally
ini_set(SMTP,
14 matches
Mail list logo