Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Mailto clicking on a button : not the expected email body

BlueForest85Apr 27 2023 — edited Apr 29 2023

Hello everyone,

Here is my APEX VERSION NUMBER : 22.1.0

I created a navigation bar entry (from shared components), to allow the user to send an email to an administrator of the application (to APP_EMAIL application item) via a mailto URL.

Configuring my navigation bar entry, I have this :
The target type is URL, and the URL target is : mailto:&APP_EMAIL.?body=Hello%2C%20I'm%20an%20APEX%20developper.%0A%0ANice%20to%20meet%20you.
I generated this mailto URL from a mailto generator like https://mailtolinkgenerator.com/

This works perfectly : when the user click on this menu bar entry, his email client opens with a new email, which body is the one in the mailto URL.

However, I want to do the same, but from a button on a page. However, when my email client opens, in the body I don't have :

Hello, I'm an APEX developper.

Nice to meet you.

But Hello%2C%20I'm%20an%20APEX%20developper.%0A%0ANice%20to%20meet%20you.

How can I get the expected body ?

Thank you for your help ! :)

This post has been answered by BlueForest85 on May 18 2023
Jump to Answer
Comments
Post Details
Added on Apr 27 2023
10 comments
570 views