SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
-
Apr 15, 2006, 10:09 #1
- Join Date
- Nov 2005
- Posts
- 171
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
using mail($row['email'], $subject, $content, $headers);
Hi all, got a slight problem with the mail function in php.
Im getting the email addresses from a database. Any email address that does ont end in @gmail.com will send fine. But when the email address is to @gmail.com, the email will never be recieve?
Has any1 got any idea why this might be? Have gmail stopped programmers using the php mail function to send emails to their users?
Any help with this issue would be much appreciated
-
Apr 15, 2006, 10:20 #2
- Join Date
- Nov 2005
- Posts
- 171
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Sorry, my mistake. I have recieved the email to the gmail account but its located in my spam folder. How would I go about getting an email to be placed in the inbox folder and not into the spam folder.
Any ideas?
-
Apr 15, 2006, 10:27 #3
- Join Date
- Aug 2003
- Location
- Manchester, UK
- Posts
- 4,007
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Which headers are you setting? From .. Reply-To etc?
I've not had a problem sending to GMail if the From header is set (never tried without it).
-
Apr 16, 2006, 04:05 #4
- Join Date
- Nov 2005
- Posts
- 171
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
here is the header that i am using:
$headers = ('From: support@bewisebets.co.uk' . "\r\n" .
'Reply-To: support@bewisebets.co.uk' . "\r\n" .
"MIME-Version: 1.0\n" .
"Content-type: text/html; charset=iso-8859-1");
-
May 30, 2006, 13:55 #5
- Join Date
- Jan 2006
- Posts
- 30
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
To use Gmail as Relay SMTP Service it can be done easly, look at this: http://www.xpertmailer.com/forum/viewtopic.php?t=48
-
May 30, 2006, 14:01 #6
- Join Date
- May 2006
- Location
- Planet Earth
- Posts
- 11
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by dazi_behappy
People receiving your messages, if they want them, can configure their email client to realize that your messages are not spam...
Bookmarks