Second email on link

Hi
Any way to add an extra email address to the hyperlink for an Mail Me button?
Thanks
Charles

You can add a second email address through Wix Forms:
https://support.wix.com/en/article/setting-up-your-form

Or you can add it in Wix Code by something like this by using SendGrid:
https://support.wix.com/en/article/wix-code-tutorial-sending-an-email-on-form-submission

The SendGrid API if that is what you use can receive multiple emails like

to: ['recipient1@example.org', 'recipient2@example.org'],

So first you must make it possible in the sendWithService function to send this to sendGrid instead of the value you send today. Then your sendEmail function must support multiple receivers.

Maybe you could try just to insert a string delimited with ; semicolon and see how sendGrid reacts to that but make sure you know that you will expose all receivers this way.

You can use other email companies and not just SendGrid, however you’ll need to change the code to suit the other companies api etc…

Or you can setup automated emails in Wix Automations so that the user gets an email reply and another email is sent out to yourselves etc.
Wix Automations: Sending Automated Emails to Contacts After Form Submissions | Help Center | Wix.com

However, you can only do it as one email address if you do through other ways:
wix-location-frontend - Velo API Reference - Wix.com (Email through Wix Code)
Wix Editor: Creating a Clickable Phone Number, Email, or URL | Help Center | Wix.com

A very comprehensive response - thanks - I’m off to try them out. Like your handle “givemeawhisky”! If we ever meet up I’ll buy you one.