Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

to send a link in the email

i m a beginner in asp......
i want to send a link in the email through a feedback form.
i m using CDONTS object...
[122 byte] By [farah] at [2007-11-9 17:49:59]
# 1 Re: to send a link in the email
Farah,

Place everything for the .body property in a variable, HTML tags included.
Such as...

dim bodyTxt
bodyTxt = "<b>My Email</b><br>"
bodyTxt = bodyTxt & "<a href=""myURL.com"">Click here</a>"

mailObj.mailFormat = 0 'sets it to HTML
mailObj.bodyFormat = 0 'sets it to html
mailObj.from = request.form.item("client_email")
mailObj.to = me@myEmail.com
mailObj.subject = "Client Contact From Web"
mailObj.body = bodyTxt

mailObj.send
set mailObj = nothing

If you need more details about CDONTS let me know. Or run a search for
CDONTS at MSDN or Google.

Michael Sanchez
Runtime Web Development

"farah" <f_sulemani@yahoo.com> wrote in message
news:3eaf8268$1@tnews.web.dev-archive.com...
>
> i m a beginner in asp......
> i want to send a link in the email through a feedback form.
> i m using CDONTS object...
Michael at 2007-11-11 23:17:01 >