Closed filippoerbisti closed 2 years ago
Use of @emailjs/browser -> params passed:
const templateParams = {
from_name: fullname, // fullname = fisrtname + lastname
from_email: email, //client email
to_name: 'Roccolo del Lago', // fixed
subject: subject,
message: message,
}
Template email enabled Auto-Reply =
when a client contact us we recived an email like: Ciao Roccolo del Lago, Nuovo messaggio da: Filippo Erbisti Oggetto: Matrimonio Email: client_mail@gmail.com Messaggio: Quando è possibile organizzare un incontro per un futuro matrimonio? Lo staff di Roccolo del Lago
with auto-reply the client recived an email like: Ciao Filippo Erbisti, Questo messaggio è generato automaticamente dopo aver contattato Roccolo del Lago. Grazie per averci contattato, cercheremo di rispondere nel minor tempo possibile. Grazie e buona giornata. Lo Staff di Roccolo del Lago
Contact Us => send email Template from: mail_client (input) to: me (fix email) subject: dropdown (3 options: wedding, tastings, shop) message: message_client
Tips: use SendGrid/MailChimp