Follow Fantora on Twitter
Fantora Word of Classified Ads and Community Forum
Welcome Guest Search | Active Topics | Members | Log In | Register

email from html page

Options
adam
Posted: Friday, June 06, 2008 7:21:55 AM
Rank: Advanced Member
Groups: Member

Joined: 4/3/2008
Posts: 173
Points: 525
Location: London

email from html page

Hi there,

I am currently in the process of re-designing my girlfriends dads companies website and he has requested that customers can fill in a form, and when submitted the form gets emailed to his inbox. At the moment his website opens up outlook express, when the form is submitted, using the mailto: function, but he really doesn't like this.

Is there any other way of emailing from a browser without any programs popping up? I am open to suggestions on other ideas that may work here if anyone can think of anything.

Thanks in advance.
hari
Posted: Friday, June 06, 2008 7:23:33 AM
Rank: Advanced Member
Groups: Member

Joined: 3/31/2008
Posts: 93
Points: 279
Location: London

email from html page

hi there

you much have to use any server side language then. classic asp or asp.net or any other

if you are interested i'll send you complete asp email code
adam
Posted: Friday, June 06, 2008 7:25:06 AM
Rank: Advanced Member
Groups: Member

Joined: 4/3/2008
Posts: 173
Points: 525
Location: London

email from html page

hari wrote:
hi there

you much have to use any server side language then. php or asp.net or any other

if you are interested i'll send you complete php email code



yes please i'll appreciate it
hari
Posted: Friday, June 06, 2008 7:30:16 AM
Rank: Advanced Member
Groups: Member

Joined: 3/31/2008
Posts: 93
Points: 279
Location: London

email from html page

use following code

Code:


<%
ConName = Request.Form("Name")

Set objSendMail = CreateObject("CDONTS.NewMail")
With objSendMail
    .From = "from address"
    .To = "to address"

    .Subject = "Test Mail"

    .BodyFormat = CdoBodyFormalHTML

    .Body = ConName ' specify body of email

        .MailFormat= CdoMailFormatMIME

    .Send

End With

Set objSendMail = Nothing



happy coding Bye
Riccur
Posted: Tuesday, May 05, 2009 3:08:03 PM
Rank: Newbie
Groups: Member

Joined: 5/5/2009
Posts: 1
Points: 3

email from html page

That code above worked very good. I tried it for the website that I am currently designing. Thank you very much for providing that here. It worked great!

Graphic Design Los Angeles
Users browsing this topic
Guest

 Related
web building primer
i need HTML code
how to convert .jpg to pdf
What is the full form of HTML ?
Free online tool to make flash flip book from pdf
CSS Tutorials
Destination India
is Dreamweaver worth buying?
need help in website designing
How to upload new themes for Wordpress.
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by: YAF.NET
Copyright © AI Logica All rights reserved.
This page was generated in 0.319 seconds.