how to send mail using html css and javascript
ฝัง
- เผยแพร่เมื่อ 28 พ.ย. 2024
- create working contact form using Html Css Javascript
I have shown in this video how to send mail help of smtp.js.
important settings for Gmail
1. two-step verification on
2. create app password Gmail
smtp.js -- smtpjs.com/
Modified this video please watch --
• Create a Working Conta...
Thanks for watching!
Make sure to like + Subscribe For More
☕️ Support me, buy me a coffee
www.buymeacoff...
#codewithsanjoy #smtp.js #contactform
For those who asked themselves why it was working 6 Months ago but not now...Due to hacking attacks SMTPJS is no longer trusted by every mail provider besides one no name commercial provider, furthermore has Google changed their privacy rules...to third party programms its no longer permitted to access the email via smtp, but it works perfectly fine with other ones like outlook and gmx
Easy Alternative would be phpmailer Programmed in php, works perfectly fine and its easy to use(html emails are possible and easy to Include)
Dans ce cas envoyer les informations via watsapp par exemple je pense que ça sera plus facile . Qu'en pensez vous
@@xilado4254merci beaucoup
Finally end of the day!!! One Working SMTP project (y) tysm bro!
Why it's not working?
This pops out when I press my button
Only elasticemail is supported as an SMTP host.
Thank you for helping me that works without problems
Finally something that works ! THANK YOU
@Lilian Shuan It's not, it's asking for me to use elasticmail hostname now ..
@Lilian Shuan I have manages overcome this issue, but I’m using C# for that purpose and it’s not longer via Javascript ..
@Lilian Shuan i have the same problem
Thanks for uploading... your all videos are awesome ❤️
thanku sir👍👍
welcome
I appreciate that you should enable 2-step authentication, but having the password openly in your html for anyone to see on your website seems a bit risky. Don't you think?
SMTP.js has the option to create a security token.
create the token help of user gmail name and app password.
Email.send({
SecureToken : "C973D7AD-F097-4B95-91F4-40ABC5567812",
Host: "smtp.gmail.com",
To: 'bestcodersanjoy@gmail.com',
From: email,
Subject: subject,
Body: body
}).then(
message => alert(message)
);
@@codewithsanjoy dear I use the same as you mentioned using secure token and get . Secure token not valid
Same problem
Je suis carrément d'accord
bro thank you very much, you are a legend
Thank you, Thank you so much.
It’s working
please share my channel
thanks for your video but I am really wondering if it is safe to put your password in JavaScript code
It isn't!lol!
BRO YOU EARNED A F*CKING NEW SUBSCRIBER, I LITERALLY WATCHED LIKE 600 VIDEOS, AND YOURS FINALLY HELPED ME OUT!
Thank you so much keep up the good work!!
Hello, why didn't it work for me and tell me the following
Uncaught TypeError: Email.send is not a function
it's working .. thank you
please share my channel
thanks you man!!!
Thanks. This video is great.pls can you tell me how to add form:choose file and send that file on email. Thank you :)
I will come up with this kind of video
please wait ...
@@codewithsanjoy Tnx.and maybe some checkbox add :)
This is not working at all in my browser (Firefox) 😢 please help
SMTP not supporting gmail platform
the same problem, not only in Firefox
@Nikola Kapetanovic what I researched about it that Google has made Gmail platform more secure and that enabling option in Gmail settings in no longer available for users. I request you to tell some other solution if you can.
Is this code will work only in local or we can use the same code in the server also??
hi bro
working fine , i need to clear the input field
👏👏👏👈 🔔
I have an error when I try to submit. It says that "Only elasticemail is supported as an SMTP host." I did an account but is still not working. I will thankfull if you help me.
Thank you for this, but I get an error, smtp server must be with elasticmail... thoughts??
this is what i keep on getting too!
Check my new modified video.
I hope you can understand
tutorial link
th-cam.com/video/E4SL1ymKz00/w-d-xo.html&ab_channel=CodeWithSanjoy
you can easily get hacked if someone just looks up the source code?
Je te jure
Not working 😕 using security token . It needs a billing plan . Till now no solution if you want to hide the password.
hi i have a question will this workout if i create html file in local storage without server..i was trying but it thrown error can you say yes or no
How to use radio options in this code?
i did everyting you said and it tell me (The specified string is not in the form required for an e-mail address.)
what should i do?
please check the code
Plz post source codeof your video when u upload...
I do everything but I can't receive any email
Check my new modified video.
I hope you can understand
tutorial link
th-cam.com/video/E4SL1ymKz00/w-d-xo.html&ab_channel=CodeWithSanjoy
Respected Sir,
Kindly Post Video about "Website Home page web banner slides -5 slides moving horizontally by clicking left or right arrow icon"... Post html css javascript code or make live video and post it...
this type of video i already create please watch
video link th-cam.com/video/E6UM-SjYni0/w-d-xo.html
gmail has stopped this third party option, so any other alternatives?
Check my new modified video.
I hope you can understand
tutorial link
th-cam.com/video/E4SL1ymKz00/w-d-xo.html&ab_channel=CodeWithSanjoy
at 14:16 how do I get the pop-up to ok the email being sent??
js
alert("Email being sent");
hello sir i am getting authentication error while sending reply to form
please watch my modified video
link : th-cam.com/video/E4SL1ymKz00/w-d-xo.html
give the source code man
plese
Sir.. Plz post source code of this video....
Check my new modified video.
I hope you can understand
tutorial link
th-cam.com/video/E4SL1ymKz00/w-d-xo.html&ab_channel=CodeWithSanjoy
source code please?
i try this code but i cant get any email plzz help meee
please watch the video carefully and read the description box. I hope you understand
Ok
It is not free anymore
Are you writing your password to a client html code or it is just my eyes are bleeding ? Never do that guys.
Not working
is it free
Hlo
I have error the smtp server requires a secure connection or the client was no authenticated. The server response was : authenticated required
How to solve this issue . Ugent form me
Check my new modified video.
I hope you can understand
tutorial link
th-cam.com/video/E4SL1ymKz00/w-d-xo.html&ab_channel=CodeWithSanjoy
It is not working, wasting time 🤦♂️
Check my new modified video.
I hope you can understand
tutorial link
th-cam.com/video/E4SL1ymKz00/w-d-xo.html&ab_channel=CodeWithSanjoy
Me getting error "unexpected string"
please watch my tutorial video carefully
it really works aa aaaa tytytyty
For those who asked themselves why it was working 6 Months ago but not now...Due to hacking attacks SMTPJS is no longer trusted by every mail provider besides one no name commercial provider, furthermore has Google changed their privacy rules...to third party programms its no longer permitted to access the email via smtp, but it works perfectly fine with other ones like outlook and gmx
I do everything but I can't receive any email
same here
I do everything but I can't receive any email
Check my new modified video.
I hope you can understand
tutorial link
th-cam.com/video/E4SL1ymKz00/w-d-xo.html&ab_channel=CodeWithSanjoy