Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 27th August 2009, 22:32
pebkac pebkac is offline
Senior Member
Join Date: Feb 2009
Posts: 133
Thanks: 2
Thanked 7 Times in 7 Posts
Default How to change the from address when sending mail through PHP

Hey all, I have osCommerce running on my Perfect server. I have one small problem. When someone is on the contact us page and fills out the form the email never gets to us. I looked in the mail log and I think it is because the mail comes from: web1@debian-srv.e-scan.com

Here is the error from the mail log:
delays=0.03/0/0.47/9.6, dsn=5.0.0, status=bounced (host mx03.bis.na.blackberry.com[] said: 553 #5.1.8 Domain of sender address <web1@debian-srv.e-scan.com> does not exist (in reply to MAIL FROM command))
So I think I need to figure out how to change the web1@debian-srv.e-scan.com to just a valid email address on our server?????

Anyone have any ideas for me?

Reply With Quote
Sponsored Links
Old 28th August 2009, 12:18
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

Please see examples in php manual:

Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 10:40
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 15:17
Can not recieve mail with de virtual mail adress Mounir Installation/Configuration 9 25th July 2006 00:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 12:47

All times are GMT +2. The time now is 11:05.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.