-
E-mail processing form in ASP
Is there a way in ASP to process a form to e-mail like you can in CGI and
how to do it.
Thanks
-
Re: E-mail processing form in ASP
Yeah, there are third party IIS Extensions such as ASPeMail
http://www.aspemail.com/ which is a 30-day trial, but there are other free
ones out there...
"CS" <mail@cybersparks.karoo.co.uk> wrote:
>
>Is there a way in ASP to process a form to e-mail like you can in CGI and
>how to do it.
>
>Thanks
-
Re: E-mail processing form in ASP
"js" <jakesmsu@hotmail.com> wrote:
>
>Yeah, there are third party IIS Extensions such as ASPeMail
>http://www.aspemail.com/ which is a 30-day trial, but there are other free
>ones out there...
>
>
>"CS" <mail@cybersparks.karoo.co.uk> wrote:
>>
>>Is there a way in ASP to process a form to e-mail like you can in CGI and
>>how to do it.
>>
>>Thanks
>
-
Re: E-mail processing form in ASP
IIS and PWS both have a component called CDONTS.
You can send email from your ASP web pages with no extra installs or configuration.
Sample...
<%
dim mailObj, usersEmail, bodyText, subjectLine
set mailObj = server.createObject("cdonts.newmail")
userEmail = request.form("email")
subjectLine = "Test Email From ASP"
bodyText = "This is a test Email" & vbCrLf
bodyText = bodyText & "This was processed with CDO." & vbCrLf
bodyText = bodyText & vbCrLf
bodyText = bodyText & "Good bye!"
mailObj.from = usersEmail
mailObj.to = "TestMail<name@domain.com>"
mailObj.subject = subjectLine
mailObj.body = bodyText
mailObj.send
set mailObj = nothing
%>
"CS" <mail@cybersparks.karoo.co.uk> wrote:
>
>Is there a way in ASP to process a form to e-mail like you can in CGI and
>how to do it.
>
>Thanks
-
Re: E-mail processing form in ASP
True, you can CDONTS but only if your web server is also your mail server
"CS" <mail@cybersparks.karoo.co.uk> wrote:
>
>Is there a way in ASP to process a form to e-mail like you can in CGI and
>how to do it.
>
>Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|