Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 3rd, 2005, 4:52 PM   #1
VillageVineyard
Newbie
 
Join Date: Mar 2005
Posts: 3
Rep Power: 0 VillageVineyard is on a distinguished road
[Solved] Auto-Mailer for my site; Need some help

Okay, I can set up the basic email script to send an email out to people on my list, but for some reason with Yahoo.com the emails are being sent to the Bulk folder as "Spam."

How do I send an authentic mail automatically from my site?

Basic email script:

<?php
$to = "you@yoursite.com";
$subject = "The subject line";
$message = 'The Message';

$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: me@mysite.com\r\n";

mail($to, $subject, $message, $headers) or print "could not send mail";
?>

How do I send a real/trusted email?


(It will eventually pull emails out of my database and email them a week before I need them to do something. The script needs to keep track of time of when to shoot off the emails.)

Last edited by VillageVineyard; Apr 4th, 2005 at 3:47 PM.
VillageVineyard is offline   Reply With Quote
Old Apr 4th, 2005, 8:30 AM   #2
codetaino
Programmer
 
codetaino's Avatar
 
Join Date: Jan 2005
Location: Bayamon, Puerto Rico
Posts: 71
Rep Power: 4 codetaino is on a distinguished road
Ok... read the parameters in this site... click here to view site
__________________
"God bless u all" :)
codetaino is offline   Reply With Quote
Old Apr 4th, 2005, 3:46 PM   #3
VillageVineyard
Newbie
 
Join Date: Mar 2005
Posts: 3
Rep Power: 0 VillageVineyard is on a distinguished road
I didn't realize Yahoo required the 'Reply-To:' parameter.

That was the problem.

Thanks.
VillageVineyard is offline   Reply With Quote
Old Apr 8th, 2005, 12:17 AM   #4
codetaino
Programmer
 
codetaino's Avatar
 
Join Date: Jan 2005
Location: Bayamon, Puerto Rico
Posts: 71
Rep Power: 4 codetaino is on a distinguished road
Glad to know that you solve it... thanks for the info 2

-codetaino
__________________
"God bless u all" :)
codetaino is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:46 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC