Skip to content

Email Subject containing & #2375

@ozzi-

Description

@ozzi-

Describe the bug

I am trying to send an email using the SDK containing the ampersand character in the subject line.

Image

Expected behavior

The subject should be displayed as "... Report & Findings" in the email client

How to reproduce

Code:

			GraphServiceClient outlookGraphClient = clientCredentialHelper.getOutlookGraphClient(XXXX);
			SendMailPostRequestBody sendMailPostRequestBody = new SendMailPostRequestBody();
			
			Message message = new Message();
			message.setSubject("Report & Findings");

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions