Hi there,
I’m trying to set up an internal SMTP relay to get around the upcoming microsoft changes to smtp authentication.
We are still using Pres Automate and until we migrate completely into connect I need to be able to send smtp notifications from automate.
I’ve got a simple workflow in Connect that runs off of a smtp input. It captures the email details and sends out via a Microsoft 365 Email Output. I have this running now okay but need to allow for attachments.
I can’t work out from the help documentation how attachments are handled by the SMTP input task. Are these stored in the temp folder like the message body files are?
The documentation says
- Attachments: The input task loops through each attachment and sends them down through the process. While the Envelope is not available, the Job Infos contain pretty much all of the information you would get from it.
I can’t really make sense of that though.
I can see in the xml saved for the process that the attachments are as below.
<attachments>
<attachment originalname="Attachment1.txt" temporaryname="pps010NQH8HCMSBC0134C56238-att1.dat"/>
<attachment originalname="Attachment2.txt" temporaryname="pps010NQH8HCMSBC0134C56238-att2.dat"/>
</attachments>
I have 6 attachment local variables set up in the connect workflow that I have going into the 365 email task. I would need to loop though the incoming attachments and assign them to these variables.
I don’t think we have may emails that have attachments, but I need to allow for the few that do.
Cheers