originating email address is bad

This is a discussion on "originating email address is bad" within the PHP Forum section. This forum, and the thread "originating email address is bad are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 27th, 2006, 20:43
Junior Member
Join Date: Nov 2006
Location: UK
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Red face originating email address is bad

Hi all

I have created my first ever php to get someones email address and then send them an automated responce.

However, the originating email address comes out as website@linhost765.prod.mesa1.secureserver.net

I want the originating email address to come out as subscriptions@website.com

Is there some method of doing this?

DennisK
__________________
The one stop toy shop: www.toysofamerica.com
Reply With Quote

  #2 (permalink)  
Old Nov 27th, 2006, 21:19
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: originating email address is bad

I suspect that's because you are not adding the 'From: ...' part parameter in the mail(); function so the server is adding a default.

The 4th parameter is the header. AT its most basic it just needs to be a string in the form 'From: ...'

It can be a much more complex header if you are sending a multipart e-mail.
Reply With Quote
  #3 (permalink)  
Old Nov 27th, 2006, 21:44
Junior Member
Join Date: Nov 2006
Location: UK
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Wink Re: originating email address is bad

Many thanks

Will do some research.

DennisK
__________________
The one stop toy shop: www.toysofamerica.com
Reply With Quote
Reply

Tags
bad email, email address bad

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Protect your email address Ryan Fait JavaScript Forum 3 Jan 7th, 2007 05:15
Registering an email address DennisK Web Page Design 4 Nov 25th, 2006 23:07
Email Address Validation Smokie Classic ASP 1 Aug 15th, 2003 23:52


All times are GMT. The time now is 11:16.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43