You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a problem, I am sending a form from a website to my gmail account. The form contains name, phone, email and message.
The only problem is with "email" part, when i input any text or numbers it works and i recieve a mail BUT when i input an email-type like "test@gmail.com" or "xd@gmail.com" or anything (i dont send anything to these particular mails they serve as a text for me) the alert messages me that everything is ok, no errors in terminal and.. no mail, nothing in mail history on emailjs.com and so on. Can anybody help me with this? Would be glad even for hints or ideas what can cause it
Thank you
*(If i have any grammar mistakes please forgive me)
I provide the code I've tested below.
let parms = {
name: document.getElementById("name").value,
email: document.getElementById("email").value,
phone: document.getElementById("phone").value,
subject: document.getElementById("message").value
}
console.log(parms);
emailjs.send("service_v1n6idb", "template_b6j6ifh", parms).then(alert("Email has been sent!"))
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I have a problem, I am sending a form from a website to my gmail account. The form contains name, phone, email and message.
The only problem is with "email" part, when i input any text or numbers it works and i recieve a mail BUT when i input an email-type like "test@gmail.com" or "xd@gmail.com" or anything (i dont send anything to these particular mails they serve as a text for me) the alert messages me that everything is ok, no errors in terminal and.. no mail, nothing in mail history on emailjs.com and so on. Can anybody help me with this? Would be glad even for hints or ideas what can cause it
Thank you
*(If i have any grammar mistakes please forgive me)
I provide the code I've tested below.
let parms = {
name: document.getElementById("name").value,
email: document.getElementById("email").value,
phone: document.getElementById("phone").value,
subject: document.getElementById("message").value
}
console.log(parms);
emailjs.send("service_v1n6idb", "template_b6j6ifh", parms).then(alert("Email has been sent!"))
Beta Was this translation helpful? Give feedback.
All reactions