different email results from the same code - one recipient only gets a "0" in the email
This one is a real challenge. The code is listed below.
The problem: When someone submits a request using this form, two emails are generated. One to my work email account, and the other to a general mailbox for the department that fills the request. The email I receive looks fine and works without problem, but the email the department gets simply has a "0" in it. That's all - no information, no data, just a 0. I'm using the same process to generate both emails, so this doesn't make any sense.
Any ideas? Is this a coding issue or is something wrong with the other mailbox? This form worked fine for them when we were on an IIS5 server - but since we migrated to IIS6, it doesn't want to work. Please advise. Thanks!
' Setup E-mail and send to Network Management...
Set myMail = Server.CreateObject("CDO.Message")
If objUpload.Files.Count > 0 Then
myBodyText = myBodyText & "Attached File(s) or Document(s): The requester attached " & objUpload.Files.Count & " file(s) to this form."
myBodyText = myBodyText & "Attached File(s) or Document(s): The requester did not attach any files to this form."