By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,778 Members | 1,318 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,778 IT Pros & Developers. It's quick & easy.

Sending Emails in HTML

Ali Rizwan
100+
P: 927
Hello all,
I have made a web page, Now i want to add some features like sending emails.
I want to use HTML code to send emails.
Email text will be retrieved by combining the text of two text boxes.
and email address is also retrieved from a textbox.

Thanx
I have no idea about such stuff this is my first try for HTML.

And plz don't suggest me that using blah procedure is good, plz answer to the point.

Thanx
>> ALI <<
Apr 9 '08 #1
Share this Question
Share on Google+
4 Replies


harshmaul
Expert 100+
P: 490
Straight to the point it is then...

You cannot send e-mails using HTML alone.

Now the detail ;)
You can either use a server side language (php, asp etc....) or you can use the clients native mail program.

Example try this hyper link...

Expand|Select|Wrap|Line Numbers
  1. <a href="mailto:me@you.com">Click here to send e-mail</a>
Apr 10 '08 #2

harshmaul
Expert 100+
P: 490
Sorry my PC went crazy and submited the form by accident and i wasn't finished!!

anyway you can add a query string to the end of that and fill in parts of the native email programs e-mail form...

Expand|Select|Wrap|Line Numbers
  1. mailto:me@you.com?cc=ccme@you.com&bcc=bccme@you.com&subject=subject+goes+here&body=message+goes+here
I hope that helped
Apr 10 '08 #3

ronverdonk
Expert 2.5K+
P: 4,258
And plz don't suggest me that using blah procedure is good, plz answer to the point.
Any other demands, master?

Ronald
Apr 10 '08 #4

AutumnsDecay
100+
P: 170
The best way to do this is to use a sendmail form.

Google: sendmail.php form.

There's a good tutorial on how to start learning PHP and such at the same time.
Apr 12 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.