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
%>
--
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
%>
--