Current location: Hot Scripts Forums » General Community » Script Requests » Script to send to all userID of a particular domain.


Script to send to all userID of a particular domain.

Reply
  #1 (permalink)  
Old 07-25-03, 07:29 AM
etegration etegration is offline
New Member
 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Script to send to all userID of a particular domain.

Is there a way to send a mail to everyone that has an account
in a particular domain? For example, i have 200 e-mail userID added via CPanel in ministryofhosting.com Is there a way to send e-mail to them all without having to type manually all their user name? Maybe like a universal e-mail ID, something like everyone@ministryofhosting.com, i
send to that e-mail address it'll be automatically send to everyone.

2, is there a way to set up a shared address book where all
200 accounts can use and read from? On top of that, they will have
their own personal address book? It can be either in
Horde/Neomail/Squirrelmail, don't have to be in all 3, just one will do.
Reply With Quote
  #2 (permalink)  
Old 11-27-03, 10:05 PM
Xtremist Xtremist is offline
Newbie Coder
 
Join Date: Aug 2003
Location: Pensacola, FL
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
I'm assuming that the site is running on a *nx server so you could easliy create a php page that does a select on the database and then loops through all the users and sends them an e-mail. I'd suggest you add one more field to your database that can log when the e-mail is sent just incase your script bombs. That way it can limit the sends if you need to redo the send. You would have it insert something like the date that it sent the e-mail and do a select based on that date. That way everyone who has that date would not be sent to again. You don't have to add this field but it is just a nice security measure incase the server times out or has a hickup. Especially useful when your list grows larger and it takes some time to send the mail....

It should be very simple!!! Let me know if I can help!
Reply With Quote
  #3 (permalink)  
Old 11-28-03, 05:27 AM
etegration etegration is offline
New Member
 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Xtremist
I'm assuming that the site is running on a *nx server so you could easliy create a php page that does a select on the database and then loops through all the users and sends them an e-mail. I'd suggest you add one more field to your database that can log when the e-mail is sent just incase your script bombs. That way it can limit the sends if you need to redo the send. You would have it insert something like the date that it sent the e-mail and do a select based on that date. That way everyone who has that date would not be sent to again. You don't have to add this field but it is just a nice security measure incase the server times out or has a hickup. Especially useful when your list grows larger and it takes some time to send the mail....

It should be very simple!!! Let me know if I can help!
superb man! will contact you when ready. 4 months i posted and at last i got reply! better late then never! thank you!
Reply With Quote
Reply

Bookmarks


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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I Already Have a Form! I need to attatch a script! Myke311 PHP 7 12-15-11 08:51 PM
Looking for a good review management script griz_fan Script Requests 10 07-29-07 05:08 AM
Domain WHOIS script... flipsix Script Requests 0 07-19-03 04:39 PM
Talkback script..help pls BC_ PHP 0 06-22-03 06:44 PM
Need help with a script boardpix PHP 7 06-08-03 11:37 PM


All times are GMT -5. The time now is 10:45 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.