Issue in Mailto url encoding in latest iOS version

Hello,

I am not able to use or \n to take a new line in the email body in the default iOS mail application.

Example: mailto:abc@gmailDOTcom?subject=test&body=Hello,mailBody

Result in latest iOS mail app: Hello,mailBody

Expected result: Hello, mailBody

Will you please help me to resolve this issue?

You're tagging your question with Mail Extensions and wwdc21-10168.

Note that both are related to the MailKit framework, which applies to macOS only.

Your question is about iOS, so please remove the inappropriate tags.

Regarding your question: please have a look into URL Encoding to escape special characters.

Issue in Mailto url encoding in latest iOS version
 
 
Q