Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

How to add outlook signature using Office365Outlook.SendEmailV2 ?

Posted on by 361

Hello,

How to add outlook signature using Office365Outlook.SendEmailV2 ?

Categories:
  • Sormick Profile Picture
    Sormick 361 on at
    Re: How to add outlook signature using Office365Outlook.SendEmailV2 ?

    Thank you!

  • Verified answer
    Vaishu123 Profile Picture
    Vaishu123 127 on at
    Re: How to add outlook signature using Office365Outlook.SendEmailV2 ?

    // Retrieve user's profile including email signature
    Set(
    userProfile,
    Office365Users.MyProfile()
    );

    // Send email with signature
    Office365Outlook.SendEmailV2(
    "recipient@example.com",
    "Subject",
    "",
    "",
    {
    Body: "This is the email body.",
    BodyType: "HTML",
    Signature: userProfile.jobTitle & "<br>" & userProfile.officeLocation & "<br>" & userProfile.department & "<br>" & userProfile.mobilePhone & "<br>" & userProfile.businessPhones & "<br>" & userProfile.mail
    }
    )

     

     

    Just in case my answer helped you solve your problem, please mark/accept this as a SOLUTION This helps community members if they experience a similar issue in the future.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,246

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,884

Leaderboard