Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format for multiple emails

Status
Not open for further replies.

vemate

Programmer
Aug 23, 2002
61
US
Is this syntax correct?
<form method="post" enctype="text/plain" action="mailto:mdaas@bellsouth.net?rob_dial@bellsouth.net?cc=vemate@bellsouth.net&subject= Version 5.04.04 !!!" onSubmit="" "></a>

It only notifies the first email person

Thanks
 
Nope, and do yo really want to rely on your visitor's email client to send the email?

If your visitor doesn't have an email client configured then no email will be sent.

I think you should look into some server-side language to help you send the emails.

such as PHP or ASP.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Example server side code written in Perl:

Code:
my $email = "email@domain.com";
####################
my ($confirmation_email_print);
## Confirmation email
$confirmation_email_print = "
Dear $first_name,\n
Thank you for registering with Medical-Book.co.uk.
Login URL: [URL unfurl="true"]http://medical-book.co.uk/Login_And_Register/Login.htm\n[/URL]
Username:   $choose_username
Password:   $choose_password\n
> Medical-Book.co.uk ( $date_time ) <
";

## Send confirmation email
my ($confirmation_email);
use MIME::Lite;
$confirmation_email = MIME::Lite->new(From    => 'Medical-Book.co.uk',
				      To      => "$email",
                                      Subject => 'Registration Confirmation',
                                      Type    => 'multipart/mixed');
          $confirmation_email->attach(Type    => 'TEXT',
                                      Data    => "$confirmation_email_print");

$confirmation_email->send();
####################
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top