Re: / [Newman] When i send an email it ...

From: Date: Mon, 16 Jun 2003 04:02:16 +0000
Subject: Re: / [Newman] When i send an email it ...
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-151625@lists.php.net to get a copy of this message
Ahh yess .. I found the issue. [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = webform@philipnz.com The sendmail_from was not a valid email it was set to an email that was deleted from the system a week ago. Sweet as ----- Original Message ----- From: "Michael Geier" <mgeier@cdmsports.com> To: "Philip J. Newman" <me@philipsdomain.com> Cc: "PHP" <php-general@lists.php.net> Sent: Monday, June 16, 2003 2:56 PM Subject: Re: [PHP] / [Newman] When i send an email it ... > The error is your answer. The server is setup to relay mail for specific > domains/users. Evidently, the user "newmanpj@phillnz.com" is not one of those > users/domains. > > If you are the administrator for this box, check your documentation for your > specific SMTP server for setting relay for that domain. > If you are not the admin, contact that person. > > Quoting "Philip J. Newman" <me@philipsdomain.com>: > > > My code is this ... > > > > <?php > > > > // MAIL HEADERS. > > > > $headers = "X-Priority: 1\n"; > > $headers .= "Return-path: <newmanpj@philipnz.com>\n"; > > $headers .= "From: \"Philip Newman\" > > <newmanpj@philipnz.com>\n"; > > $headers .= "Reply-To: \"newmanpj@philipnz.com\" > > <newmanpj@philipnz.com>\n"; > > > > $msg = "Dear $mUserName,\n\n"; > > $msg .= "You have requested a user account on Untouched. To > > activate this account\n"; > > $msg .= "click on the link below. Please save this email so you > > dont forget your user\n"; > > $msg .= "name and password.\n\n"; > > $msg .= "$siteDomain/b.php?ID=$timestamp.\n\n"; > > $msg .= "If you have received this email in error please > > disregard it and delete it...\n\n"; > > $msg .= "Username: $mUserName.\n"; > > $msg .= "Password: $mPassword\n\n"; > > $msg .= "Thanks.\n"; > > $msg .= "Philip Newman\n"; > > > > mail("$mEmail", "The Crush Me Account Info.", $msg, > > $headers); > > > > > > ?> > > > > Warning: mail() [function.mail]: SMTP server response: 550 , Sender unknown > > in D:\Hosting\Undercover\includes\inc_signup.php on line 138 > > > > > > Thats my error ... will the server only relay the message to A local > > account? > > > > > > ----- Original Message ----- > > From: "Catalin Trifu" <catalin@isp-software.de> > > To: <php-general@lists.php.net> > > Sent: Monday, June 16, 2003 10:08 AM > > Subject: [PHP] Re: [Newman] When i send an email it ... > > > > > > > Hi, > > > > > > This a SMTP server error. > > > It looks like you did not add the header > > > FROM: "yourname" yourname@host.com; looks like u'r SMTP > > > does not allow for messages without FROM header > > > as the PHP function: > > > mail ( string to, string subject, string message [, string > > > additional_headers [, string additional_parameters]]) > > > shows, you can add extra headers to the mail message, so this > > > is what you need to do. > > > > > > Cheers, > > > Catalin > > > > > > "Jason Marks" <me@philipsdomain.com> wrote in message > > > news:003001c3336b$4913fdb0$0401a8c0@philip... > > > When i send an email i get the following error. > > > > > > > > > Warning: mail() [function.mail]: SMTP server response: 550 , Sender > > unknown > > > in D:\Hosting\Crushme\includes\inc_register.php on line 138 > > > > > > Is this a server or a PHP error? > > > > > > / Philip > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > ======================================= > Michael Geier > CDM Sports, Inc. Systems Administration > email: operations@cdmsports.com > phone: 314.692.3540 > > ----------------------------------------------- > This email sent using CDM Sports Webmail v3.1 > [ http://webmail.cdmsports.com ] > >

« previous php.general (#151625) next »