Weird behaviour: default.asp missing the dot in sendMail

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
 
G

Guest

I would take a FileSystemObject and write out the HTML to a file and examine
it. This will determine where the project is going awry.

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 

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

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top