#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    3
    Rep 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:
    http://www.venemlb.com/test.msg

    Thanks for your help pals!
    Last edited by pipodyer; July 10th, 2003 at 08:39 AM.

IMN logo majestic logo threadwatch logo seochat tools logo