R
Ron
We have a VB client using MAPISession and MAPIMessage to send a text email with and attachment. Snippet of the code is shown below
With MAPIMessages
.Compos
If Len(strEmail) > 0 The
.RecipAddress = "SMTP:" + strEmai
.RecipDisplayName = strNam
End I
.MsgSubject = "Some Report
.MsgNoteText = "Please see the attached document." & vbCrLf & vbCrL
.AttachmentPathName = App.Path & "\temp.pdf
.AttachmentPosition = Len(.MsgNoteText) -
.Send Tru
End Wit
With prior versions of outlook this worked fine. Outlook would come up, the attachement is present, the body of the email contained the text and all the user had to do was enter the To address and press Send
When we upgraded to Outlook 2003 things changed. The email comes up fine, the attachement is present, but the body of the email is empty. If all you do is enter the To: address and send the email, the recipient would see the text body. However, if you tabbed to the empty body before sending the email, the body would then be blank on the receiving end
A thread on Google solved the same problem by turning "Use cached Exchange Mode" option on in Outlook. This does works, but not something we want our users to do
We are developing on XP Pro, VB6, Outlook 2003, Exchange 5.5
Is this a bug in Outlook 2003, or integrating Exchange 5.5 with Outlook 2003, or with an outdated MAPI dll
With MAPIMessages
.Compos
If Len(strEmail) > 0 The
.RecipAddress = "SMTP:" + strEmai
.RecipDisplayName = strNam
End I
.MsgSubject = "Some Report
.MsgNoteText = "Please see the attached document." & vbCrLf & vbCrL
.AttachmentPathName = App.Path & "\temp.pdf
.AttachmentPosition = Len(.MsgNoteText) -
.Send Tru
End Wit
With prior versions of outlook this worked fine. Outlook would come up, the attachement is present, the body of the email contained the text and all the user had to do was enter the To address and press Send
When we upgraded to Outlook 2003 things changed. The email comes up fine, the attachement is present, but the body of the email is empty. If all you do is enter the To: address and send the email, the recipient would see the text body. However, if you tabbed to the empty body before sending the email, the body would then be blank on the receiving end
A thread on Google solved the same problem by turning "Use cached Exchange Mode" option on in Outlook. This does works, but not something we want our users to do
We are developing on XP Pro, VB6, Outlook 2003, Exchange 5.5
Is this a bug in Outlook 2003, or integrating Exchange 5.5 with Outlook 2003, or with an outdated MAPI dll