form mailto vs CDO?

J

jason

What are the advantages/disadvantages of using this form submission approach
as opposed to eg: Cdo, aspEmail - it appears to harness the MS standard
mailto capability?:

<FORM ENCTYPE="text/plain" NAME="test" METHOD='POST'
ACTION='mailto:[email protected]?subject=Resume' onSubmit="return
submitForm()">
 
A

Aaron Bertrand - MVP

What are the advantages/disadvantages of using this form submission
approach
as opposed to eg: Cdo, aspEmail - it appears to harness the MS standard
mailto capability?:

Not everyone has a default mail reader at all, and some use default mail
readers that do not support this form action=mailto.

And for those where the technology *does* work, it's very easy for the end
user to either cancel the sending of the form or to alter the
from/to/body/subject of the e-mail before sending.

Handling the mail on the server side gives you much greater control, and
does not render your app useless when it relies on missing client
requirements.
 
W

wetchman

The biggest advantage is that using something like aspEmail (which we use
and love) gives you a TON more control over what gets sent. It is also a LOT
more professional.

You can format, validate, set priority, attach files, send as HTML or
Multipart, and do almost anything you want to a message if you run it
through aspEmail or another component like that. A simple mailto: form won't
allow you to do any of that, and some browsers even warn before submitting
with somthing like "This form is being submitted via email - do you want to
continue?"

Using components gives you more control and is a lot more compatible.

/bw
 
J

Jeff Cochran

What are the advantages/disadvantages of using this form submission approach
as opposed to eg: Cdo, aspEmail - it appears to harness the MS standard
mailto capability?:

<FORM ENCTYPE="text/plain" NAME="test" METHOD='POST'
ACTION='mailto:[email protected]?subject=Resume' onSubmit="return
submitForm()">

My default mail client doesn't have access to send internet mail, and
your address isn't on our internal network... :)

Jeff
===================================
Jeff Cochran (IIS MVP)
(e-mail address removed) - Munged of Course

I don't get much time to respond to direct email,
so posts here will have a better chance of getting
an answer. Besides, everyone benefits here.

Suggested resources:
http://www.iisfaq.com/
http://www.iisanswers.com/
http://www.iistoolshed.com/
http://securityadmin.info/
http://www.aspfaq.com/
http://support.microsoft.com/
====================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,077
Messages
2,570,568
Members
47,204
Latest member
abhinav72673

Latest Threads

Top