Search code examples
htmltrigger.ioforge

Send E-Mail through Trigger.io app


How can I implement e-mail addresses in a Trigger.io app to (externally) open the Mail application for sending an e-mail?

The basic attribute seems not work out of the box and I didn't find anything in the official Trigger.io docs.


Solution

  • Just using plain HTML works fine for my Trigger.io app:

    <a href="mailto:your-email@address.com">Contact me</a>
    

    You can even add a predefined subject, just add ?subject=email-subject at the end of the href attribute. Check out the mailto syntax for more examples.