TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 12-03-2007, 11:29 PM   #1 (permalink)
The Contributor
 
aristoworks's Avatar
 
Join Date: Nov 2007
Location: Nashville
Posts: 44
Thanks: 7
aristoworks is on a distinguished road
Default Which mail() headers do you use?

mail() usually works pretty good for me out of the box but I've got a custom build (very simple) eCard system I put together for a client.

I would have used the phpmailer class but as of a few weeks ago the version out was giving this client's server a hard time.

All being said and done - the system is built and working fine but some emails are not receiving mail. Today I setup a simple test of the phpmailer class and ran it on the same emails that ARE NOT receiving the email and they DID receive it from phpmailer.

I can only attribute this to the fact that I'm using limited "headers" on my custom class.

Here's what I'm using:

MIME-Version 1.0
Content-type: text/html; charset=iso-8859-1
From:
Reply-To:
Return Path:
X-Mailer: PHP 5.1

Any suggestions for other one's I should include?

Thanks
jw
Send a message via AIM to aristoworks
aristoworks is offline  
Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 08:51 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design