-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attachments on email templates #17
Comments
Hi there, I'm afraid I don't have time right now to test your scenario, but perhaps you can try this that I've got somewhere on the wiki : Open the plugin registration tool and register a new step under BinaryStorageOptions.Plugin. Remember to add the secure and unsecure config xml. You can test with just this, and you can add one more for "RetrieveMultiple" with the same settings. Basically, this will tell CRM to use the plugin when reading templates, which is where I can see the email templates are stored at. I'm not certain whether your problem is on the read or create message, but I'm guessing it will actually be on the read. Let me know how that goes. Cheers. Update. Had a very quick look at this, and it seems the system creates new emails when you run a campaign. Since there's no plugins associated with campaigns, doesn't look like the email attachments work. I will see what I can do about this, can't give you a timeframe atm though... |
…tachment, try to find the originating attachment and return that instead.
Update 2. If you look in the V5 branch here : I've added a new method :
And it's called in the catch block of the "HandleEntity" method above :
You'll also need to add some constants in CrmConstants :
This seems to fix the reading issues I can see for campaign generated emails. It's a bit of a hack, but it seems to work. Hope it helps. |
Hi there, Did you try the fix? Can I close the ticket perhaps? |
When I create an email template with an attachment the plugin adds the attachment to azure fine but what it errors when using the email template to send to multiple contacts.
When sending the email it gets stuck in a pending state with an error on the attachment saying that it cannot find the specified attachment in azure.
Looking at the system jobs I can see that upon sending a quick campaign with an email template the BinaryStorageOptions.Plugin: Create of activitymimeattachment is triggering successfully, but the attachment is not appearing in azure causing the error to occur on sending the email.
If i send a single email with an attachment it works fine. Its just upon sending email templates.
Has anyone else come across this?
The text was updated successfully, but these errors were encountered: