cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
K369
Resolver II
Resolver II

Send Email with contents of editForm

Hi all,

I need to include Subject as one of the EditForm field ( which is a drop Down), Date fiels ( Which is a dateControl)  and Subject as one of the datacards. 

I have the following, but cannot add datafields:

Office365Outlook.SendEmail("me@myself.com"," Hello" ,"Hello2")    This works fine

But Office365Outlook.SendEmail("me@myself.com",DataCardValue11.selected ,DataCardValue12.Text)

is not working.

Any help please.

Thanks

3 ACCEPTED SOLUTIONS

Accepted Solutions
WarrenBelz
Super User III
Super User III

Hi @K369 ,

You need

 Office365Outlook.SendEmailV2(
   "me@myself.com",
   DataCardValue11.Selected.xxxx,
   DataCardValue12.SelectedDate
)

xxxx will depend on the Items of the drop-down - I have a blog on Controls and their references which should assist (in both of these)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

View solution in original post

Greetings 

So (     ) && (   )   It gives errors

 Office365Outlook.SendEmailV2(
   "me@myself.com","New Email From me",
   DataCardValue11.Selected.Value&&DataCardValue12.SelectedDate
)

View solution in original post

Hi @K369 ,

Use

Office365Outlook.SendEmailV2(
   "me@myself.com" & ";" & "New Email From me",
   DataCardValue11.Selected.Value,
   DataCardValue12.SelectedDate
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

3 REPLIES 3
WarrenBelz
Super User III
Super User III

Hi @K369 ,

You need

 Office365Outlook.SendEmailV2(
   "me@myself.com",
   DataCardValue11.Selected.xxxx,
   DataCardValue12.SelectedDate
)

xxxx will depend on the Items of the drop-down - I have a blog on Controls and their references which should assist (in both of these)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

View solution in original post

Greetings 

So (     ) && (   )   It gives errors

 Office365Outlook.SendEmailV2(
   "me@myself.com","New Email From me",
   DataCardValue11.Selected.Value&&DataCardValue12.SelectedDate
)

View solution in original post

Hi @K369 ,

Use

Office365Outlook.SendEmailV2(
   "me@myself.com" & ";" & "New Email From me",
   DataCardValue11.Selected.Value,
   DataCardValue12.SelectedDate
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,322)