ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old May 26th, 2003, 10:47 AM
flor_lai flor_lai is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 1 flor_lai User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old July 24th, 2003, 02:17 AM
kamleong kamleong is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 1 kamleong User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > CDONTS.NewMail object problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway