HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
send email. Pure html. No anchor tag
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML
View previous topic :: View next topic  
Author Message
tbjoshi.2007



Joined: 11 Apr 2009
Posts: 1

PostPosted: Sat Apr 11, 2009 9:30 pm     send email. Pure html. No anchor tag Reply with quote

Hi,

I am developing a web site for a friend on my computer at home using pure html. I am not an expert in html. I would like to use html form, submit button to email users' comments/feedback to my friend's email account

Is it possible to do this without anchor tag? I read everywhere it is not a good idea to use anchor tag wiht mailto option.

Thanks.
Any help will be greatly appreciated.

tbj
PayneLess Designs



Joined: 28 Feb 2007
Posts: 3599
Location: Biloxi, MS

PostPosted: Sun Apr 12, 2009 2:44 am     Reply with quote

You could do a client-side "mailto:", but that depends on the user sending the email as they have to do the clicking of the Send button. Better to use a server-side form using your friend's email address where the form is filled out and the info is sent to them after the Submit button is clicked. Of course, your hosting site must allow use of SMTP.

Ron


Last edited by PayneLess Designs on Tue Oct 27, 2009 8:39 pm; edited 1 time in total
mattb348



Joined: 27 Oct 2009
Posts: 1

PostPosted: Tue Oct 27, 2009 4:43 pm     Reply with quote

Hmmmm if you just use the "mailto:" option then you can indeed enter your friend's email address into the link, but it will still have to be sent through the client's email program (IE: outlook). Other than that, I beleive you would need to use some server side PHP code, which is fairly easy to setup, and almost all webhosts nowadays support this. Technically speaking I guess this is html code, considering that most webhosts/servers are setup to handle PHP without you even having to do anything special at all.

_________________
mattb348 - the master airsoft sniper!
http://www.airsoftsniped.com
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial