执行用python smtplib发送的电子邮件的Javascript
我正在练习发电子邮件,我想知道当您使用smtplib和email libs发送和发送电子邮件时,以及当您的邮件包含HTML代码时,是否可以执行Javascript代码 似乎什么都没有 HTML文件:执行用python smtplib发送的电子邮件的Javascript,javascript,python,html,smtp,smtplib,Javascript,Python,Html,Smtp,Smtplib,我正在练习发电子邮件,我想知道当您使用smtplib和email libs发送和发送电子邮件时,以及当您的邮件包含HTML代码时,是否可以执行Javascript代码 似乎什么都没有 HTML文件: <!DOCTYPE html> <html lang="en"> <head> </head> <body> </div> <p class='Test'>This is my first sentence&l
<!DOCTYPE html>
<html lang="en">
<head>
</head>
<body>
</div>
<p class='Test'>This is my first sentence</p>
<script type="text/javascript">
var list = document.querySelector('p.Test');
list.innerHTML = "I want to change it";
</script>
</body>
</html>
我希望这是清楚的。据我所知,我们做不到,我也尝试过这样做,我想在邮件中包含一个搜索栏,用于搜索表格内容
"No. JavaScript won't work in mails. A cool way to implement this feature
would be to include an image that points to your server, where you generate
the weather report server side and render it as an image, and return it to
the client.
Note though that Gmail caches images and depending on when he does it that
might not be refreshed."
资料来源:
"No. JavaScript won't work in mails. A cool way to implement this feature
would be to include an image that points to your server, where you generate
the weather report server side and render it as an image, and return it to
the client.
Note though that Gmail caches images and depending on when he does it that
might not be refreshed."