This is more of a MS Power automate problem but I am hoping someone here will have some insight into why my flow is failing. So, created the flow based on the video by @IsmaelChivite where the submission of the form triggers the generation of the report which is uploaded to OneDrive then sent via e-mail as a .pdf to the e-mail address entered in the form. I was able to get the flow to work with the personal outlook and Gmail connectors. However, the mail is always flagged as spam with huge warning messages. To work around this our IT group has setup a SMTP service. I have the connector configured but am having trouble configuring the attachment settings. Without the attachment the e-mail gets sent fine. When I configure the attachment the flow fails and I believe it has something to do with he attachment type which was left blank with the Gmail and outlook connectors.
Can you post a picture of the error and perhaps the flow?
Attachments are optional for emails. As such, a 'null' attachment won't stop an email from sending.