Rank: Advanced Member Groups: Member
Joined: 4/3/2008 Posts: 79 Points: 237 Location: London
|
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.
|
Rank: Advanced Member Groups: Member
Joined: 3/31/2008 Posts: 59 Points: 177 Location: NY
|
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
|
Rank: Advanced Member Groups: Member
Joined: 4/3/2008 Posts: 79 Points: 237 Location: London
|
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
|
Rank: Advanced Member Groups: Member
Joined: 3/31/2008 Posts: 59 Points: 177 Location: NY
|
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
|