Articles on: FAQs

How to redirect to an email from a newsletter in Icomm

On the Icomm platform, it is possible to create dynamic and effective interactions with contacts. One of the common questions that arise is whether it is possible to redirect to an email when a contact clicks on a button or part of a piece. The answer is yes!

How to redirect to an email in Icomm



To redirect to an email from a button or part of a piece on Icomm, we need to use the "mailto:" link. The "mailto:" link allows the contact to click it and automatically opens their device's default email client, with the recipient, subject, and body of the message predefined.

Here is the basic structure of the "mailto:" link to redirect to an email:

mailto:xxxxx@xxx.xxx

In the example above, replace "xxxxx@xxx.xxx" with the email address you want to redirect the contact to. However, you can also provide more information to further personalize the email.

Customizing email



You can also customize the subject and body of the message that will open in the contact's email client when using the "mailto:" link.

Subject and body of the email:


mailto:yourcorreo@carrier.com?subject=CUSTOM SUBJECT&body=EMAIL TEXT

Replace "yourmail@carrier.com" with your email address and "CUSTOM SUBJECT" with the subject you want to pre-define for the email. Similarly, "EMAIL TEXT" should be replaced with the content of the message body that you want to predefine.

Line breaks

It is important to note that if you want to add line breaks in the body of the message, you must use the code "%0D%0A", which represents a line break in HTML.

mailto:empresas@toctocviajes.com?subject=I want more information about TocTocViajes Empresas&body=Hello, I would like you to send me more information about the benefits for companies. %0D%0A%0D%0AThank you!

In the example above, "empresas@toctocviajes.com" is the destination email address, "I want more information about TocTocViajes Empresas" is the default subject, and the body of the message contains the desired text along with two line breaks.

For more information on mailto: links and how to customize them further, we recommend visiting the following link: https://css-tricks.com/snippets/html/mailto-links/.

Tools



You can use an online tool like Parcel to generate "mailto:" links quickly and easily. Access the tool through this link: https://parcel.io/tools/mailto.

Updated on: 08/10/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!