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.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th August 2009, 21:32
pebkac pebkac is offline
Senior Member
 
Join Date: Feb 2009
Posts: 132
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:
Code:
delays=0.03/0/0.47/9.6, dsn=5.0.0, status=bounced (host mx03.bis.na.blackberry.com[216.9.248.34] 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?


--Steve
Reply With Quote
Sponsored Links
  #2  
Old 28th August 2009, 11:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
 
Default

Please see examples in php manual:

http://www.php.net/manual/en/book.mail.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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 09:40
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 14:17
Can not recieve mail with de virtual mail adress Mounir Installation/Configuration 9 24th July 2006 23:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


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


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