When using the Gmail connection to send an email I encountered a bug. If I use a hard-coded receiver address everything works as expected, but when I use an expression to find the receivers email in the text of an incomming email the subject suddenly dissapears.
Hi @HenrikK,
Could you please share a screenshot of your flow’s configuration?
I have made a test on my side and don’t have the issue that you mentioned. The screenshot of my flow’s configuration as below:
The flow works successfully as below:Best regards,
Kris
Hi Kris,
Sorry for the late reply, I wrote one last week but it got lost...
I don't seem to be able to upload pictures, but what I have is an expression that evaluates an incoming email, finding the text between the two strings 'email:' and 'phone:' and uses that in the to-field. The subject-field is hard-coded.
substring(triggerBody()?['Body'],add(6,indexOf(triggerBody()?['Body'],'email:')),sub(indexOf(triggerBody()?['Body'],'phone:'),add(6,indexOf(triggerBody()?['Body'],'email:'))))
The flow is run only on emails generated by a webpage form, so this works fine and the email arrives, but without subject. If I replace the expression with a static email address the subject comes back.
Best regards,
Henrik
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.