Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic 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:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 9th, 2003, 03:35 PM
pipodyer pipodyer is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 3 pipodyer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question OUTLOOK 2K/VBA Problems to access the email body

Hi Dev fellows,
I am trying to grab the body of an bounced email, flagged whit a System administrator subject, using VBA.

The body of this email look like this:
....there is the email address too
_____________
Your message did not reach some or all of the intended recipients.
Subject:Web Survey (6/11/2003)
Sent: 6/11/2003 12:00 AM

The following recipient(s) could not be reached:
'cyndi_k@o.com' on 6/11/2003 12:09 AM
Unable to deliver the message due to a communications failure
The MTS-ID of the original message is: c=us;a= ;p=interim healthca;l=IHCMSX010306110408M2W1LN0R
MSEXCH:IMS:Interim HealthCare:IHC:IHCMSX01 3902 (000B09B6) Host Unknown
______________

By the way OUTLOOK RULES DOES NOT CATCH THE BODY NEITHER.....

However after use:
objMail.SaveAs MyPath & MyFileName, olTXT

A new text file is created with the from, To, and Subject fields, not the body...
However for any other message I get the to, from, subject and body field.

Question: Is any reason why the body field is not been grabbed? However, if I do it manually trough File|SaveAs|as .txt file, the body part gets saved in the TXT file....

FOR MORE INFO PLEASE CHECK AN EXAMPLE AT:
URL

Thanks for your help pals!

Last edited by pipodyer : July 10th, 2003 at 07:39 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > OUTLOOK 2K/VBA Problems to access the email body


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 4 hosted by Hostway