05-30-2006, 03:11 PM
Hello and thanks in advance,
I am in the process of building a website for my church. I am using CPanel which is offered by my web host.
I have about 15 staff members that I would like to give email accounts to. Cpanel offers Horde, SquirrelMail, and RoundCube.
I know how to create seperate email accounts but I would like there to be a simple user login form on the actual website. Something similar to what we see here at codingforums.com.
#1) Would it be best to use the web mail programs offered by cpanel? Or find a free one on the web an setup a database for it?
#2) If I should use one of these offered with cpanel which one of the three do you recommend?
#3) When I create the input fields for the username and password, how would I direct it to login to the actual web mail program?
05-30-2006, 03:59 PM
Usually, the webmail login is like this: www.yourdomain.com/webmail
Once their, youll be promted with your username and password. username is the actual username and domain (Example: Matt@CodingForums.com )
The people you give email accounts will be able to choose between the 3 (Horde, Squirrel, and RoundCube)
05-31-2006, 04:08 AM
Do you want those other people to be able to setup email accounts as well, or just access the email account you setup for them? If the latter, they should be able to access that email account through Outlook Express, Outlook, Eudora, or any of a number of other email programs. Your web host should be able to tell you the specifics of how to do that.
05-31-2006, 05:09 AM
Thanks so far for the advice. I was able to locate the login page and it works.
As for the email accounts. These will only be for specific staff members at the church and all the usernames will be their actual name for easier identification purposes. For example the an email account would look like this....
I do have another question though. I havent really researched this but I thought I would throw it out there.
I would like to simplify the emailing process for visitors. I have an evelope image that (when pressed) will redirect visitors to a new page that will have a form similar to the one in the picture below that will automatically have the email address of that staff member filled in. This is to help alleviate typo/misspellings. I dont want to simply have an email link that pops up an outlook express window because I know somtimes this can discourage people like myself who dont use outlook express. How can I set this up so the info in the input fields is sent as an email.
This is an example of what I would like on my website for each individual staff member.
05-31-2006, 06:29 AM
If your server supports PHP, I would do a PHP contact form. Instead of having each person's email address displayed, I would make a drop down list with each person's name, then have the PHP script build the email with that person's email address. You really don't want their email address to display on your contact form anyway. That's how spammers get hold of your email and clog your In Box.
There are lots of PHP contact form scripts available on the internet, but you should pick one that guards against something called header injection attacks. Basically, that is a problem where a spammer is able to use your contact form as a relay to spam others.
Except for the drop down list, and a little bit of extra stuff on my contact form that you probably don't want, I'd be willing to send you my script if you're interested. It's probably about as secure a script as you can get. You can see my contact form here (http://www.napathon.net/ContactMe.php).
05-31-2006, 03:05 PM
wow nice contact form.
I am currently testing out some I found on hotscripts.com I have php so I usually prefer to use it since it usually requires only a single line of code on the actually webpage.
I found a descent one at sonicfog.com but it doesnt have a reset button which I kinda like.