justuptime.com - monitor your servers & websites

can a form's 'submit' button send to 2 different emails?

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.
kearsefreak's picture

They have: 39 posts

Joined: Sep 2001

hey y'all

is this possible? A client wants the 'submit' button of a form that is on their site to send the form data to 2 different email addresses.

I'm thinking this is possible in a simple way like adding a ; between the 2 addresses in the code.

can you guide me someway?

thanks

kf

detox's picture

They have: 571 posts

Joined: Feb 2001

is this server side or just plain html? because there are different ways of attacking this depending on what your site consists of...

Detox -TWF Moderator

DetoxDezigns
- freelance

They have: 384 posts

Joined: Sep 2000

Detox mentioned the basics. Most formmail type scripts can be adjusted to send to multiple addresses. You can also setup an email aliases on your site that forwards to the two addresses, then send the form response to that account, which will in turn distribute it. Just an idea Wink

Adam Oberdorfer – TWF Moderator
AIS Internet Solutions – Owner/Lead Developer
ScriptsDev.com – Enterprise E-Commerce Development and Consulting

Mark Hensler's picture

He has: 4,044 posts

Joined: Aug 2000

If your using the form's action="", I would assume you could do:

I haven't tried it though.

Mark Hensler ["Max Albert"] [Email]
If there is no answer on Google, then there is no question.

kearsefreak's picture

They have: 39 posts

Joined: Sep 2001

of course

Sometimes you can get so bogged down with the details that you can't see the simple stuff.

All of these ideas should work.........just to see I'm going to try them all out but the easiest way would be Adam's idea of multiple addresses with email forwarding (actually the easiest, easiest idea would be the semi-colon).

you guys rock......

i LOVE this place

kf