473,800 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Email triggers mailing list script

gregerly
192 Recognized Expert New Member
Hello All,

I'm not even sure this is possible, as I've never attempted this before. Is it possible to have an email that is sent from any email address (lets use Gmail for instance) to a specific email address, trigger a script that will take that email and send it to everyone on a specific mailing list?

So I send an email from my personal email to "mylist@mydomai n.com". This somehow triggers a script to run that sends that email to my entire mysql DB where i've been collecting email addresses.

As I write this, I don't know that it will be this easy, but If anyone has any input I would appreciate it.

Thanks,

Greg
Oct 23 '07 #1
1 1282
Atli
5,058 Recognized Expert Expert
Hi Greg.

It can be done, although I haven't a clue how it is actually done.
I know that many websites (php.net for instance) use emails to add people to mailing lists and such. I can only assume that receiving the email triggers some script that adds you to a database.

If you can somehow get a copy of your email into a database, or you know the location where your email is being stored on your email server, you could probably set up a cron-job that executes a script every now and then to forward any mail to your list of clients. May be easier.
Oct 24 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
6176
by: Dariusz | last post by:
I am a newbie to PHP, and newer still to MySQL. I have nearly finished writing (offline for use online) a PHP script that deals with people adding and deleting themselves off a mailing list (using GET), all data being stored in MySQL database. When a person signs on via a web-page, they get emailed a link to unsubscribe from a database - with a unique ID that was generated for that person only when they signed on (this is saved in a...
4
4813
by: Thom McGrath | last post by:
I'm writing a simple mailing list program, and I would like to know what the suggested method of sending a large number of emails to a list of addresses. (sounds like spam, no?) It's perfectly legit, it's just an opt-in mailing. I have a feeling that using a 'while' loop with repeated calls to mail() is not the best practice. Is there something better I should be doing?
12
5107
by: nasht | last post by:
Hi, I'm trying to make a newsletter application in php (using mail() ). This application is supposed to look in a MySQL database and generate a list of emails and first names. Then it should send an html formated message. In the theory, I know how to do that, but the hic is ... There are about 30 000 members. So I get different kind of errors everytime I try something. Like 500 Internal Server Error,
2
3818
by: Nigi | last post by:
I've made a mysql database with php front end which, in part, contains mailing lists. I've used a mailto: link to create a new email with their names in the bcc: field. Unfortunatley their is a limit on the size of a mailto: field that outlook can accept, and so it can't be used to mail more than about 80 people at a time. Our lists go up to 200. Can anyone suggest a workaround that will enable people to follow a link to a new email...
4
2090
by: kang jia | last post by:
hi i am doing mailinglist currently. the code in my first page is like this : : <html> <head> <link rel="stylesheet" type="text/css" href="gallery.css" /> <script language="JavaScript"> <!--
1
2118
by: codexxx | last post by:
In one of my projects, I've an requirement which goes like this: Application member compose a HTML mail. Send that newly composed mail to there registered email address with the application. Now from there own email address they send that email to there mailing list. Application needs to track how many time that email has been opened up by mailing list subscribers in the members list area". This can be achieved by inline javascript or by...
4
2013
by: chris | last post by:
I need to maintain a list of subscribers to an email list for a "newsletter" that will be sent via a web form probably once a month. I anticipate low numbers--tens to maybe one hundred subscribers at the most. Just curious what the best way to code this is. Should I just loop through the addresses and send one-off emails to each, or is it better to somehow send to every recipient in one shot? One thing I would like to avoid in the...
11
1601
by: Bob Bedford | last post by:
Hi all, we have many people that have registered to our newsletter and we are getting every time more people who the email is unavailable. It's there any technique to detect such unavailable address ? We tought about using a special email (like newsletter@ourdomain.com) then using a PHP script to catch the returning email and catch some text on them and decide if we remove the address from our mailing list or not. It's possible with...
4
1958
by: shailendra deshpande | last post by:
right now i have only pain html page.and i want to send email through it using javascript plz. anybody tell me how to send email from plain html page using javascript. thanks in advance Shailendra Deshpande
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10505
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10276
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10035
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7580
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.