cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NamegomJan
Helper II
Helper II

Send an email from a group email address

Hi everyone, I have an Outlook group and a respective email address for this group.

 

I have the rights to send emails from that group email address. I want to send an confirmation email with the group email address and not my personal email address as the sender. I tried the following code which gives me an error message unfortunately:

 

Office365Outlook.SharedMailboxSendEmail("group@outlook.com";varEmail;"confirmation message");;

 

This is the error message:

 

error.jpg

 

Can you please help?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
gabibalaban
Dual Super User
Dual Super User

Hi @NamegomJan 

 

There is no need to use: Office365Outlook.SharedMailboxSendEmail

If you have send on behalf rights of this mailbox use: 

Office365Outlook.SendEmailV2(youEmailAddress,"test","testing",{From:"mailBoxOnBehalf})

 

Hope it helps !

View solution in original post

2 REPLIES 2
gabibalaban
Dual Super User
Dual Super User

Hi @NamegomJan 

 

There is no need to use: Office365Outlook.SharedMailboxSendEmail

If you have send on behalf rights of this mailbox use: 

Office365Outlook.SendEmailV2(youEmailAddress,"test","testing",{From:"mailBoxOnBehalf})

 

Hope it helps !

Thanks @gabibalaban. This worked

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,805)