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
Super User

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
Super User

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.

 

 

Greetings 

So (     ) && (   )   It gives errors

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

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.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,729)