如何匿名发送HTML中按钮单击的电子邮件 [英] How to anonymously send an email on button click in HTML

查看:162
本文介绍了如何匿名发送HTML中按钮单击的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如标题所示如何匿名发送电子邮件按钮点击html,



我有一个商店,当有人点击按钮买我想要通过我的电子邮件收到通知,或者如果有其他方式通过电子邮件给我,当有人点击购买按钮时收到通知,请在下面分享,谢谢!



编辑:由于你们中的一些人没有得到我的意思,我会试着澄清:

我想要的只是一个通知,有人点击,我作为管理员得到有人点击通知。即使我不在网站上,任何东西,电子邮件通知,桌面通知或任何其他方式。



我尝试过: < br $> b $ b

尝试过的方式,但那不是我想要的,我不想要一个电子邮件无声弹出,我不想让用户知道我收到了一封电子邮件或那个他发送了它。

Just as the title says How to anonymously send an email on button click in html,

I have a shop and when someone clicks the button "buy" i want to get notified on my email, or if there is another way other then email for me to get notified when someone clicks on the button "buy" please share it down below, thank you!

Since some of you didnt get what i meant, i will try to clarify:
All i want is a notification, someone clicks, I as admin get "Someone Clicked" notification. Even if im not on the site, anything, email notification, desktop notification, or any other way.

What I have tried:

Tried the ussual ways but thats not what im looking for, i dont want an email cilent to pop up, i DONT want the user to know i recieved an email or that he sent it.

推荐答案

你不能。

除非你从服务器端发送电子邮件 - 这意味着它使用你的电子邮件主持人,而不是您的客户 - 如果用户不知道并确认没有,您就无法发送电子邮件。这是应该的。



想一想:如果你能做到,那么甚至可能会有更多的恶意网站。

And是的,这意味着您的网站也是恶意的:您试图窃取用户的电子邮件地址,或使用他的地址发送邮件,就像您是他一样。这是恶意活动,但你试着装扮它。
You can't.
Unless you send the email from the Server side - which means it uses your email host, not your customers - you cannot send an email without the user both knowing and confirming that it's ok. Which is exactly as it should be.

Think about it: if you could do it, so could even more malicious sites.
And yes, that means your site would be malicious as well: you are attempting to steal the user email address, or use his address to send messages as if you were him. That is malicious activity however you try to dress it up.


这篇关于如何匿名发送HTML中按钮单击的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆