![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi,
I modify an existing answer e-mail item (Re ![]() (VB6 AddIn project). Here is the affected code (simplified): Dim rMail As New Redemption.SafeMailItem Dim rgfAttachment As Redemption.Attachment Mailobject.Save ' answer mail item rMail.Item = Mailobject ' ### kill previous attachments ### For x = rMail.Attachments.Count To 1 Step -1 rMail.Attachments.Item(x).Delete Next x ' ### add new attachment ### Set rgfAttachment = rMail.Attachments.Add("c:\new_attachment.abc", olByValue, 1) rgfAttachment.Fields(&H370E001E) = "application/vnd.myapplicationname" rMail.Save rMail.Send For most customers this works fine. But some of my customers are missing the newly added attachment completely. But only if the original Mailobject has been an answer-mail (Re ![]() from the same domain as the current user (exchange). If the Mailobject is an answer to an incoming mail from the outside or the Mailobject is a newly generated mail, if works fine. If it is an answer to an incoming mail from inside the same domain, it fails by loosing the attachment. Strange... Any ideas what happens here? Are there some filtering mechanisms active? There is no error occuring during this code. The customer does not run any special addins other than the standard, exept OpenCTI (telephony addin). Any ideas, what mechanism's are able to remove attachments from AddIn generated mails? Thank you |
#2
|
|||
|
|||
![]()
What Outlook versions is this happening with? Where and when are you adding
the attachments that are going missing? Are the original attachments all being removed? Any specific mail formats or WordMail involved? -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Kukulkan" wrote in message ... Hi, I modify an existing answer e-mail item (Re ![]() (VB6 AddIn project). Here is the affected code (simplified): Dim rMail As New Redemption.SafeMailItem Dim rgfAttachment As Redemption.Attachment Mailobject.Save ' answer mail item rMail.Item = Mailobject ' ### kill previous attachments ### For x = rMail.Attachments.Count To 1 Step -1 rMail.Attachments.Item(x).Delete Next x ' ### add new attachment ### Set rgfAttachment = rMail.Attachments.Add("c:\new_attachment.abc", olByValue, 1) rgfAttachment.Fields(&H370E001E) = "application/vnd.myapplicationname" rMail.Save rMail.Send For most customers this works fine. But some of my customers are missing the newly added attachment completely. But only if the original Mailobject has been an answer-mail (Re ![]() from the same domain as the current user (exchange). If the Mailobject is an answer to an incoming mail from the outside or the Mailobject is a newly generated mail, if works fine. If it is an answer to an incoming mail from inside the same domain, it fails by loosing the attachment. Strange... Any ideas what happens here? Are there some filtering mechanisms active? There is no error occuring during this code. The customer does not run any special addins other than the standard, exept OpenCTI (telephony addin). Any ideas, what mechanism's are able to remove attachments from AddIn generated mails? Thank you |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Loss Of The Views Bar | D. Spencer Hines | Outlook Express | 1 | January 28th 09 04:26 AM |
Loss Of The Views Bar | D. Spencer Hines | Outlook Express | 2 | January 24th 09 06:39 PM |
Loss of profile... | og | Outlook Express | 4 | January 7th 07 11:35 AM |
more reasons to send Hotbar to a North Korean concentration camp | [email protected] | Outlook Express | 0 | August 15th 06 03:09 AM |
Finally, without any reasons - Outlook 2003 is able to display MSN newsletters | xfile | Outlook - General Queries | 0 | June 23rd 06 03:36 AM |