NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

Admin PHP code for the mail list script
26464 Admin PHP code for the mail list script http://www.php-scripts.com/php_diary/010200.php3 The admin code I created worked fine except for one bothersome thing. It would send out the email to multiple recipients and print the proper unsubscribe code, BUT the "From" mail header did not work the way it should have inside of the "all" loop. It should have been printing my from email address on every email address, however it was printing "nobody" instead. When I send the emails to any single person the header it printed correctly. Do you know what I was doing wrong? Read on and I'll explain. PHP > Tips and Tutorials > Mailing List Management Oct 15, 2006

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  

Bookmark Admin PHP code for the mail list script:


Other links at PHP > Tips and Tutorials > Mailing List Management
Email is the most popular Internet service today. A plenty of emails are sent and delivered each day. The goal of this tutorial is to demonstrate how to generate and send emails in PHP.
Category:

Now that the login to the admin is successful and we have a secure environment, I need to make a form to be able to send mail to those on my list when indeed I do release new php scripts. My admin form will look a lot like the mail-to form (12/28/99) except it will have a few modifications:
Category:

The admin code I created worked fine except for one bothersome thing. It would send out the email to multiple recipients and print the proper unsubscribe code, BUT the "From" mail header did not work the way it should have inside of the "all" loop. It should have been printing my from email address on every email address, however it was printing "nobody" instead. When I send the emails to any single person the header it printed correctly. Do you know what I was doing wrong? Read on and I'll explain.
Category:

This is not a script to create a mailing list, it's just a simple script that will allow you to send email to multiple users already stored in your database. I created a date service site in which users need to sign up to become members, since members give their email when they sign up, there was no need to put a "Join my mailing list" on my site. So basically every email is stored on the database when a member signs up. Also since members have to select the country they live in, not only i needed a function to send emails to the entire list but also send emails to members belonging only to a single country.
Category:

Regular Expressions - Validating Email Addresses
Category:




Main Category
194
2041
824
286
175
1802
1238
913
1163
7489
70
909
59
2222
174

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 19538
Categories: 1275
Registered Users: 750
Mailing List Subscribers: 2046
Unique Outgoing Hits: 227875

Pagerank Statistics
PR 10
1 site(s)
PR 9
13 site(s)
PR 8
33 site(s)
PR 7
252 site(s)
PR 6
769 site(s)
PR 5
1891 site(s)

PHP News