Question Locked

Email Form for Website (multiple recipients)

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am trying to create a email contact form for our website. I want there to be four fields for a visitor to fill in (name, email address, subject, message). The subject field will be a drop-down box to allow for a variety of purposes for the visitor's message. I know how to do all of this and have the message sent to one address. However, I would like to associate each subject choice to a different email address. I've looked all over the Internet and can't seem to come across with a way to do this. Is there anyone out there that knows how to do this with either PHP, CGI, or JavaScript?

5 replies

by jck

a) what mail server you're using
b) how you want to do it

you could for example setup a rule in Outlook for each subject.

Or for Groupwise, you can get their DLL and programatically have it do a GWO instance and have it determine how to re-route it from your website.

Or, you could simple code JS or ASP to determine what Email addy goes to what subject and create and SMTP connection to your mail server to forward it.

There's a few ways you can do it.

by mcintyrem

You weren't the least bit helpful. I want to create a contact form on my website, not me email server. Depending on the subject that the visitor chooses, I want it do go to different email addresses. How do I accomplish this on my website? What would the code be?

by thumbsup2

You can search for either javascript which will accomplish it, or for PHP script pieces which will do this. There are many web sites, each with many scripts. All it takes is a little searching.

by mcintyrem

Can you be more specific? Which websites do you know of. I've spent several hours looking for one that does what I'm looking for. What sites do you know of?

This discussion is closed to new replies.