M
Mike
Hi
We have our IIS5 web site sending out emails from its own SMTP Server.
We have a bit of code (copy below if you are curious) which I think is quite
standard to send out emails BUT it sends them out incorrectly.
All its supposed to be doing is sending out an email with the following text
in the body of the email
http://test.website.net/default.asp?SessionID=137146143156139196118118118118120124
but its actually sending out one that looks like the following
http://test.website.net/defaultasp?SessionID=137146143156139196118118118118120124
Note the missing DOT in defaultasp
But the dot is in the ASP source code correctly ... I am confused !!
Any ideas ?
Thanks and happy Holidays to all.
Michael
=================================================================================
Dim myMail
Dim HTML
Set myMail = CreateObject("CDONTS.NewMail")
HTML = HTML & "<html>"
HTML = HTML & "<body>"
HTML = HTML & "<table width='100%'>"
HTML = HTML & "<tr><td><font face='Arial' size='2'>User ID
:"&UserID&"</font></td></tr>"
HTML = HTML & "<tr><td><font face='Arial' size='2'>Order ID :
"&OrderID&"</font></td></tr>"
HTML = HTML & "<tr><td><font face='Arial' size='2'>Email :
"&Email&"</font></td></tr>"
HTML = HTML & "<tr><td><font face='Arial' size='2'>String : <a
href='"& WebResURL &"/default.asp?SessionID="& strString &"'
target='blank'>"& WebResURL &"/default.asp?SessionID="& strString
&"</a></font></td></tr>"
HTML = HTML & "</table>"
HTML = HTML & "</body>"
HTML = HTML & "</html>"
myMail.From="(e-mail address removed)"
myMail.To="(e-mail address removed)"
myMail.Subject = "Approve Order"
myMail.BodyFormat=0
myMail.MailFormat=0
myMail.Body=HTML
myMail.Send
We have our IIS5 web site sending out emails from its own SMTP Server.
We have a bit of code (copy below if you are curious) which I think is quite
standard to send out emails BUT it sends them out incorrectly.
All its supposed to be doing is sending out an email with the following text
in the body of the email
http://test.website.net/default.asp?SessionID=137146143156139196118118118118120124
but its actually sending out one that looks like the following
http://test.website.net/defaultasp?SessionID=137146143156139196118118118118120124
Note the missing DOT in defaultasp
But the dot is in the ASP source code correctly ... I am confused !!
Any ideas ?
Thanks and happy Holidays to all.
Michael
=================================================================================
Dim myMail
Dim HTML
Set myMail = CreateObject("CDONTS.NewMail")
HTML = HTML & "<html>"
HTML = HTML & "<body>"
HTML = HTML & "<table width='100%'>"
HTML = HTML & "<tr><td><font face='Arial' size='2'>User ID
:"&UserID&"</font></td></tr>"
HTML = HTML & "<tr><td><font face='Arial' size='2'>Order ID :
"&OrderID&"</font></td></tr>"
HTML = HTML & "<tr><td><font face='Arial' size='2'>Email :
"&Email&"</font></td></tr>"
HTML = HTML & "<tr><td><font face='Arial' size='2'>String : <a
href='"& WebResURL &"/default.asp?SessionID="& strString &"'
target='blank'>"& WebResURL &"/default.asp?SessionID="& strString
&"</a></font></td></tr>"
HTML = HTML & "</table>"
HTML = HTML & "</body>"
HTML = HTML & "</html>"
myMail.From="(e-mail address removed)"
myMail.To="(e-mail address removed)"
myMail.Subject = "Approve Order"
myMail.BodyFormat=0
myMail.MailFormat=0
myMail.Body=HTML
myMail.Send