CatManDave
MIS
I have a peculiar problem. When a new help desk ticket is assigned using my Intranet, it updates the database and sends out an EMAIL to the Help Desk and/or the person assigned to the task with a URL to view the actual ticket. It's rather simple:
*************************************
EMAIL = trim(rst("EMAIL")
set objMail = CreateObject("CDONTS.Newmail"
objMail.From = "HelpDesk@TheCareGroup.com"
objMail.To = EMAIL
objMail.Subject = "Help Desk Ticket Assigned"
objMail.Body = "You have been assigned ticket number " & nTicketNo & " " _
& " _
& "ReqEditView.asp?parm1=" & nTicketNo
objMail.Send
set objMail = Nothing
***************************************
This worked just fine until we got to ticket #1000. Then the URL in the EMAIL sent was dropping the last digit of the ticket number off the URL link.
*********************************************
You have been assigned ticket number 1006
6
*********************************************
As you can see it is dropping the "6" from the 1006 onto the next line and separating it from the URL link completely. As a result, clicking on this URL will display ticket# 100 every time.
No matter how I truncate the message, this problem continues. Is there some sort of limit I am not aware of?
Thanks in advance for your help,
Dave
*************************************
EMAIL = trim(rst("EMAIL")
set objMail = CreateObject("CDONTS.Newmail"
objMail.From = "HelpDesk@TheCareGroup.com"
objMail.To = EMAIL
objMail.Subject = "Help Desk Ticket Assigned"
objMail.Body = "You have been assigned ticket number " & nTicketNo & " " _
& " _
& "ReqEditView.asp?parm1=" & nTicketNo
objMail.Send
set objMail = Nothing
***************************************
This worked just fine until we got to ticket #1000. Then the URL in the EMAIL sent was dropping the last digit of the ticket number off the URL link.
*********************************************
You have been assigned ticket number 1006
6
*********************************************
As you can see it is dropping the "6" from the 1006 onto the next line and separating it from the URL link completely. As a result, clicking on this URL will display ticket# 100 every time.
No matter how I truncate the message, this problem continues. Is there some sort of limit I am not aware of?
Thanks in advance for your help,
Dave