Hi onpnt,
It's wierd, I can redirect using an htm, but if fails with a .pdf .
For instance, if you go to
and hit submit, there's an error.
However, if you go paste in the identical path it works.
I suppose I can create a htm page that supplies the link, but it adds some redundancy.
Another thing, I thought this code would work as far as compelling the user to input an email address:
<%
else
mailTo= Request.Form("mailTo"

& "danielh@optistreams.com"
Email= Request.Form("email"
Set Mailer = Server.CreateObject ("SMTPsvg.Mailer"

Mailer.FromName = "Tech Support"
Mailer.FromAddress = "support@verio-hosting.net"
Mailer.Subject = "IDS-3940799 - " & Subject
Mailer.BodyText = "Email: " & Email & vbcrlf
Mailer.RemoteHost = "mail-fwd.verio-web.com"
Mailer.AddRecipient "Dan", "danielh@optistreams.com"
if Mailer.SendMail then Response.Redirect "
else
' Message failed
response.write "Please provide email address. Thank you.<br>"
response.write "The error was: " & Mailer.Response & "<br>"
end if
end if
%>
I'm definitely doing something wrong, I can hit submit and (if it's an html path) it will bypass my "if" statement and go directly to the page. What am I missing.
Thanks again.
Dan