ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Codeunit 8900 "Email Impl" - Draft Email - Apply a connector and sender

Open DevPrach opened this issue 5 years ago • 6 comments

Hello, In the new "Email Impl" codeunit, can we have the possibility to send the connector and the sender when you create a draft mail. The function "SaveAsDraft" send automatically empty values actually :

CreateOrUpdateEmailOutbox(EmailMessageImpl, EmptyGuid, EmptyConnector, Enum::"Email Status"::Draft, '', EmailOutbox);

I need this to store multiple draft emails in the "Email Outbox" table and sent them later (automatically with a task scheduler that's why I need all informations about connecter and sender filled). Thanks.

DevPrach avatar Dec 15 '20 11:12 DevPrach

Sounds like a good idea, how would you feel about contributing it through a pull request? :smile:

darjoo avatar Dec 17 '20 12:12 darjoo

The "delayed sending" mechanism is a quite common request, that may be better implemented directly in the email module, rather than through an extension. We would be happy to work with you on getting this going, if you'd like to contribute with some code. If you would prefer not to, we need to discuss if we can find the time to add this functionality ourselves :-)

JesperSchulz avatar Jan 06 '21 08:01 JesperSchulz

I'm not sure that I can find time to propose a solution quickly so if you can work on this on your side, I appreciate.

DevPrach avatar Jan 06 '21 08:01 DevPrach

From now closed related request: Can we please have access to the Codeunit "Email Dispatcher" to have the possibility to schedule the sending of emails in draft. codeunit 8888 "Email Dispatcher" { Access = Internal; All details #10274.

JesperSchulz avatar Jan 06 '21 08:01 JesperSchulz

We are quite busy with all sorts of requests these days. It might take us a little while to get this done, but we're looking at it :-)

JesperSchulz avatar Jan 06 '21 08:01 JesperSchulz

This issue has been solved in BC version 20.

Groenbech96 avatar Feb 25 '22 08:02 Groenbech96