tags:

views:

310

answers:

3

Hi How can I have a link for submit an email directly? I don't want to use outlook to send email. I want to post email by clicking on submit button without open outlook eexpress and use it.

+3  A: 

HTML cannot send email directly. You need server code that can handle a request to send email. What language are you trying to do this in?

TheSoftwareJedi
A: 

If you use .net, you can look into the namespace system.net.mail.

It is quite easy to use.

Ken Yao
A: 

You question is not so clear. If all you need is an email to be sent, you could have put a link/button that sends a request to a server CGI to do the job. But of cause, the email will be sent from the server using whatever email user/domain available there.

If you need to have a way to send an email by the user from within the browser, I'd say this is a bad idea since it raises a lot security/privacy concerns. In fact, if some javascript (or things alike) does send emails, I'd consider that as a security breach :)

PolyThinker