Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP mail function help 1

Status
Not open for further replies.

Murugs

Technical User
Joined
Jun 24, 2002
Messages
549
Location
US
I am getting this error..We recently moved to a new hosting provider..Before we did not have any problems.

Warning: mail(): SMTP server response: 451 See in C:\Program Files\Apache Group\Apache2....\action.php on line 56

Basically it is just a form which mails the info to a email.

regards
MP
 
Your service provider is using qmail, which is picky about the types of linefeeds it finds in messages.

Your code is probably sending only linefeeds, when qmail, in exact implementation of RFC 822, expects carriage-return linefeeds.

Check your code. Are you, in your messages, outputting "\n"? Change them to "\r\n".

For more information, go to the link provided in the error message or
Want the best answers? Ask the best questions: TANSTAAFL!!
 
Worked Perfectly.

Thanks
MP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top