url in asp autoreply problem

F

FunnyJuggler

I'm an ASP idiot, trying to debug a simple asp form return page.

I have a form on my site, to collect user info. an .ASP file sends the
users info to me, and sends a welcome message to the user.

However, when I try to include any reference to a web page, that line of the
script seams to just generate blank space in the email.

What am I doing wrong?

Thanks,


Paul

<%
[snip]

Set Mailer = Server.CreateObject ("SMTPsvg.Mailer")
Mailer.FromName = "FunnyJuggler.com Paul Isaak"
Mailer.FromAddress = "(e-mail address removed)"
Mailer.Subject = "The Brochure " & Request.Form("txtName") & "
requested"
Mailer.RemoteHost = "mail.funnyjuggler.com"
Mailer.AddRecipient Request.Form("txtName"),Request.Form("txtEmail")
Mailer.ContentType = "text/html"
Mailer.AddAttachment (Server.Mappath(Request.Form("pdfwanted")))

' '''''''''''''''''''''''''''''''''''''''''''''''
' '''this part works '''
'''''''''''''''''''''''''''''''''''''''''''''''''''
Mailer.BodyText =" Dear " & Request.Form("txtName")
Mailer.BodyText = "Here is the brochure you requested which describes my
show, The Comedy & Juggling of Paul Isaak."
Mailer.BodyText = vbNewLine & vbNewLine
Mailer.BodyText = "If the brochure you requested did not arrive along
with this email message, view it by visiting one of the following addresses.
"& vbNewLine & vbNewLine

'
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' ''' but everything below here is missed in the autoreply email ''''
'
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Mailer.BodyText= "'http://www.funnyjuggler.com/isaak2002.pdf'"
' " If you require more information, just reply to this email, or call us
toll free at 1(877) 852-4590."





if Mailer.SendMail then
' Message sent successfully
response.write ("<HTML> <HEAD> <META HTTP-EQUIV='refresh'
CONTENT='3;URL=http://www.funnyjuggler.com/main.html?'></HEAD> <BODY>
Sending the Requested Brochure.<P> You will be returned to our site once the
this action is processed. </BODY> </HTML>")
else
' Message send failure
response.write ("Your message was not sent. ")
response.write ("The error was: " & Mailer.Response)
end if

Set Mailer=Nothing


%>

--
 
B

brucie

In alt.html FunnyJuggler said:
What am I doing wrong?

using ASP and sending html email

How HTML Email Invades Your Privacy
http://email.about.com/library/weekly/aa121100a.htm?once=true&

HTML Formatted E-mail Issues
http://www.admin.mtu.edu/sas/docs/HTMLBad.html

Why sending and receiving HTML email is a really bad idea.
http://www.delux.com/articles/HTMLmail.html

7 reasons why HTML e-mail is EVIL!!!
http://www.georgedillon.com/web/html_email_is_evil.shtml

HTML e-mail is STILL evil!!!
http://www.georgedillon.com/web/html_email_is_evil_still.shtml
 
F

FunnyJuggler

I've tried with and without the single quotes, but with the same error


Paul

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top