|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
CDONTS.NewMail object problem
hi,
the following is the code to send the email. It sent successfully. but I got the wrong result. I got this in my email ------------------------------------------------------------------------------------ vi assign =xxxxxxxxxx-com-john.mathews:email:11:11:/mailboxes/xxxxxxxxxx.com/johnmathews::: ------------------------------------------------------------------------------------ *** Why the dot "." is disappeared after john ? It should be "...../john.mathews" *** What wrong on my code? *** How to fix the problem? dim objCDOMail Set objCDOMail = Server.CreateObject("CDONTS.NewMail") objCDOMail.From = "abc@hotmail.com" objCDOMail.To = email1 objCDOMail.Subject = subject objCDOMail.Body = "vi assign" & vbcrlf & "=xxxxxxxxxx-com-john.mathews:email:11:11:/mailboxes/xxxxxxxxxx.com/john.mathews:::" objCDOMail.BodyFormat = 1 objCDOMail.MailFormat = 0 objCDOMail.Send Set objCDOMail = Nothing Thanks, florence |
|
#2
|
|||
|
|||
|
I encountered the same problem with CDONTS.NewMail as well. It happens on both of my IIS4.0 servers.
Whenever a certain pattern is matched, the "dot" will just disappear. Looks like there is a bug somewhere, and I found no solution. I have to work around the problem by breaking the text line and modifying the content to avoid the buggy text pattern. Good luck! |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > CDONTS.NewMail object problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|