473,385 Members | 1,973 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

HOW TO Create a script to create email addresses

I have registered a list of domains and was wondering if it is possible to set up a php script that will allow users to create an email at each of them e.g. at englandtillidie.com there would be a form which would let them pick a username and then the script checks if it is free, if it is it will allow them to register it and send emails from tommy@englandtillidie.com etc.

Thanks
Aug 17 '09 #1
8 2522
@rmail2006
You need some kind of database to store taken addresses. I don't see what's the problem.
Aug 17 '09 #2
I was wondering what code i would need to create or register the email addresses?
Aug 17 '09 #3
Dormilich
8,658 Expert Mod 8TB
@rmail2006
like unauthorized said, you need some means to store the data, this can be a database (like MySQL, which requires the MySQL functions/classes), SQLite (a file (not server) based DB), even a simple file (though this is insecure).

decide what you want and then look for an appropriate tutorial.
Aug 17 '09 #4
gopan
41
try zimbra software...

http://www.zimbra.com/
Aug 17 '09 #5
Ok, I'm using php and mysql

I have tried looking for tutorials to allow users to register emails at my domain such as tom@englandtillidie.com.

Has anyone got any examples that will show me how to set up the users email account and let them access it?


Thanks very much
Aug 18 '09 #6
Niheel
2,460 Expert Mod 2GB
You'll first need to create a shell script that will create a mail account in your email program (sendmail, qmail, whatever else you might be using). The shell script will also to create a user in the system and set a password.

Take the form data from you php script pass the username and password to the schell script. Enter the username and password into a db for future reference and test for already existing email addresses.

That's probably the quickest way i can think of. Though this seems like a problem that there might already be a whole open source application for.
Aug 18 '09 #7
Iv looked all over and cannot seem to find a sell script that allows you to do that :(
Have you got any examples that i could look through?

Thanks :)
Aug 26 '09 #8
@rmail2006
... somebody shoot me.

'nyway, you only need to explore the documentation of your mail server and see what parameters need to be passed to achieve whatever you want. Assuming you use 'nix, all you need to do is type "man <name-of-your-mail-client>". On Windows, you need to figgure out which command line switch is used for usage info (typically /?, -h, help or --help) or dig up the documentation of your mail client.

On the off chance you don't know what shell script is, you may want to start with a Google queue "<insert-operating-system-here> shell scripting".
Aug 26 '09 #9

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

Similar topics

9
by: mcp6453 | last post by:
I'm posting in desperation and hopes that someone has a script that will achieve these objectives: 1. Web interface using forms collects Name, Address, Email Address. 2. Web interface sends this...
6
by: Jeffrey Silverman | last post by:
Hi, all. Sorry, first off, for the kidna weird selection of crossposted groups, but this question touches on aspects of discussion in each of the groups. So I have a group of around 500 email...
16
by: siliconmike | last post by:
Hi, I'm looking for a reliable script that would connect to a host and somehow determine whether an email address is valid. since getmxrr() only gets the mx records.. Links/pointers ? Mike
5
by: Papajo | last post by:
I,m looking for a script to remove duplicates email addresses from a list, the addresses will be displayed one per line in a textarea. The script will be used on a simple webtv browser. Thanks Joe
5
by: stemc © | last post by:
Hi there, In work, we often mail merge letters and post them to contacts. But more and more, we've been emailing information to people instead. So far, I've been writing a single generic...
4
by: wayne | last post by:
I have a PHP email script running on two separate websites. Today, I received a form mail generated by the script from each site, with time stamps 10 minutes apart. The entered email address in...
4
by: kitesurfer | last post by:
Looking for some help with an email form using php. I am using check boxes in a html form, the values of check boxes are email addresses. The person visiting our site has the ability to select...
4
by: Ima Lozer | last post by:
I am in the process of writing an app for one of my sites that will allow guests to send e-cards to other folks. The process is fairly simple. First the sender selects a card graphic via a series...
1
code green
by: code green | last post by:
I have had 3 seperate procedures running happily for a couple of years that I now wish to merge into one. 1. Collect list of email addresses from Access on local server. Write these addresses to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
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...

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.