Possible reasons for attachment loss?

Status
Not open for further replies.
K

Kukulkan

Hi,

I modify an existing answer e-mail item (Re:) using redemption objects

(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:) that has been sent

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
 
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?

"Kukulkan" <regify@googlemail.com> wrote in message

news:a4b6eb20-5e1a-4124-88f5-2ef3af10de80@b2g2000yqi.googlegroups.com...
> Hi,

> I modify an existing answer e-mail item (Re:) using redemption objects
> (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:) that has been sent
> 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
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
C New pc, new outlook, is it possible to import auto-complete emailaddress Using Outlook 4
e_a_g_l_e_p_i Is it possible to have a reminder in Outlook 2021 for every 90 days Using Outlook 3
W Outlook 2016 MSI - Possible to make work with O365 modern Auth & Win7? Using Outlook 4
O Outlook - How to embed font ? (If at all possible) Using Outlook 2
S Outlook 365 Can I change the possible range of highlighting colours when writing an Outlook email? Using Outlook 1
T Outlook 2013 Possible interference by Telstra ISP with Hotmail Password Using Outlook.com accounts in Outlook 4
e_a_g_l_e_p_i Is it possible to transfer things from one calendar to another Using Outlook 2
V Is it possible to collect statistics from Outlook forms? Outlook VBA and Custom Forms 1
e_a_g_l_e_p_i Is it possible it set the fonts used to read incoming mail Using Outlook 25
S Is it possible to cusstomise selectable Options in Kalander. Outlook VBA and Custom Forms 1
J Is it no longer possible to suppress Outlook 2019 Invalid Certificate name mismatch security alert via Registry? Using Outlook 1
BretAB Is it possible to add a lookup field to a Message form? Outlook VBA and Custom Forms 4
A Possible to hide ribbon with custom appointment form? Outlook VBA and Custom Forms 3
M possible to search Outlook for multiple email addresses at once? Using Outlook 1
semnaitik Is it possible to recover content from a 0KB PST file? Using Outlook 3
J Is this possible to do with a macro? Outlook VBA and Custom Forms 17
D Is it possible to automatically send an email when it is moved to a folder? Exchange Server Administration 1
T Exchange setup not possible with outlook.de username Using Outlook.com accounts in Outlook 0
H Is it possible to create a view that only show the first task in a list? Using Outlook 1
H Is It Possible to See Who Has Viewed My Calendar in Exchange? Using Outlook 2
P Is it possible to convert address book to "Auto-Complete List" (NK2)? Using Outlook 5
C in outlook 2007-Contact Group-One name have 3 mail id-its possible? Using Outlook 3
J convert .pst to .eml, how is it possible? Using Outlook 1
S Is it possible to recover a permanently deleted email from my .OST file? Using Outlook 0
M Is it possible to restore deleted webmail to server? Using Outlook 3
P Is it possible to write a macro to email to all addresses of selected contacts? Using Outlook 1
D is it possible to have both a POP and IMAP account in Outlook 2013? Using Outlook 5
C Is it possible to have contacts sync real-time between Outlook and iCloud? Using Outlook 1
P Is it possible to sort emails by COUNT of "From" field? Using Outlook 2
Justo Horrillo It's possible to modify the behaviour of the conversation option? Using Outlook 2
S Possible to link to ics file without importing? Using Outlook 4
P Outlook 2003 - possible to recreate corrupt account? Using Outlook 3
FirefIy Marking message read only if replied to the message or Ctrl+Q. Possible? Using Outlook 1
O Script to move emails to a folder based on various possible keywords Outlook VBA and Custom Forms 11
A Is it possible to remove the word Categories: from task list views? Using Outlook 2
B Is it possible with Outlook form Outlook VBA and Custom Forms 5
Steve Jacobs Possible to configure TNEF options based on *sender*? Exchange Server Administration 3
S Is it possible to backup Outlook.com/Outlook 2013 Email & Calendar info? Using Outlook.com accounts in Outlook 3
O Is it possible to go from BCM Office 13 back to BCM Office 2010? BCM (Business Contact Manager) 1
E Show field from account on contact form - possible? BCM (Business Contact Manager) 1
A Possible to modify people preview window? Using Outlook 1
T OL BCM 2007 - Possible to migrate SQL Server Express 2012 ? BCM (Business Contact Manager) 2
V Name of attachment in replies (HTML) - possible?? Using Outlook 12
C Is it possible: List of URL fields BCM (Business Contact Manager) 0
D Frequently used response short cut possible macro Using Outlook 1
mrje1 Assigned Categories keep getting deleted in mail, bug? How to fix if possible? Using Outlook 5
Commodore Exporting all contacts to VCF files possible? Using Outlook 4
M I'd like to alter the appointment balloons. Possible? Using Outlook 6
J Is it possible to highlight a folder in Outlook 2007? Using Outlook 2
L I want ONE calendar if possible with no overlaying Using Outlook 1

Similar threads

Back
Top