Page 1 of 1
EXEC_SEND_MAIL Attachment
Posted: 22 Aug 2024 10:31
by atlantic
Can you send a email with a attachment? I would like to sent the "exportpls_${yyyy}${MM}${dd}.pdf" (this day + 7).
And how should you set this up?
Re: EXEC_SEND_MAIL Attachment
Posted: 22 Aug 2024 11:24
by radio42
Currently the command EXEC_SEND_EMAIL does not support attachments, but I can add this to the next version!
Re: EXEC_SEND_MAIL Attachment
Posted: 22 Aug 2024 13:54
by atlantic
This would be great
Re: EXEC_SEND_MAIL Attachment
Posted: 31 Dec 2024 08:38
by atlantic
Bernd,
Thanks for the update.
I can't use the macros.
EXEC_SEND_EMAIL
[email protected]|
[email protected]|exportpls|Exportpls in bijlage!|C:\REMOTE\DJ\exportpls_*[DATE:{${yyyy}-${MM}-${dd}}:{+7}:{yyyyMMdd}].pdf
or
EXEC_SEND_EMAIL
[email protected]|
[email protected]|exportpls|Exportpls in bijlage!|C:\REMOTE\DJ\exportpls_${yyyy}${MM}${dd}.pdf
If i set it like this it works.
EXEC_SEND_EMAIL
[email protected]|
[email protected]|exportpls|Exportpls in bijlage!|C:\REMOTE\DJ\exportpls_20241231.pdf
What's wrong?
Greetings Marc
Re: EXEC_SEND_MAIL Attachment
Posted: 31 Dec 2024 08:57
by radio42
I will double check this. But I assume, that macros are currently not evaluated for the attachment parameter.
Re: EXEC_SEND_MAIL Attachment
Posted: 31 Dec 2024 11:42
by radio42
Fixed in a v4.5.0.1 update.
Re: EXEC_SEND_MAIL Attachment
Posted: 31 Dec 2024 14:48
by atlantic
Indeed it works as it should, to send an attachment with macros.
EXEC_SEND_EMAIL
[email protected]|
[email protected]|exportpls|Exportpls in bijlage!|C:\REMOTE\DJ\exportpls_*[DATE:{${yyyy}-${MM}-${dd}}:{days}:{+7}:{yyyyMMdd}].pdf