Need fully qualified sender - Sende rejected

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
El Vasco
Forum Newbie
Posts: 15
Joined: Tue Jan 04, 2011 12:05 pm

Need fully qualified sender - Sende rejected

Post by El Vasco »

Hi All,
I am struggling to get Mercury/32 (part of XAMPP package) working. After reading lots of tutorials and following them I am still facing one error that I cannot solve:

504.5.5.2 <postmaster@localhost>: Sender address rejected: need fully-quali

In my php.ini I have:

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = postmaster@localhost

Any hint will be highly appreciated :-) !

Thanks
El Vasco
dgreenhouse
Forum Newbie
Posts: 20
Joined: Tue Mar 10, 2009 5:13 am

Re: Need fully qualified sender - Sende rejected

Post by dgreenhouse »

Since you're running this on a local machine, you'll need to use a smtp relay to get your mail out.

Not sure how to do that in Mecury/XAMPP.

The email server on the other end won't talk to an email server that it either can't find a mx record for or doesn't have a valid sender address.

postmaster@localhost is not valid outside of your box.
El Vasco
Forum Newbie
Posts: 15
Joined: Tue Jan 04, 2011 12:05 pm

Re: Need fully qualified sender - Sende rejected

Post by El Vasco »

Thank You, dgreenhouse !
I am using smtp.aol.com as Relay. Sorry for the question but what is a mx record ?
Thanks !
El Vasco
dgreenhouse
Forum Newbie
Posts: 20
Joined: Tue Mar 10, 2009 5:13 am

Re: Need fully qualified sender - Sende rejected

Post by dgreenhouse »

El Vasco wrote:Thank You, dgreenhouse !
I am using smtp.aol.com as Relay. Sorry for the question but what is a mx record ?
Thanks !
El Vasco
mx record doesn't apply in this case, but you should insert a valid sender email address.

If you want to know about mx, mta, and other email related stuff... google it. There's lots of reading.
El Vasco
Forum Newbie
Posts: 15
Joined: Tue Jan 04, 2011 12:05 pm

Re: Need fully qualified sender - Sende rejected

Post by El Vasco »

Thank You, dgreenhouse ! I will try what you said wih a valid sender email !
Post Reply