简体   繁体   English

如何通过Shell脚本使用“投票”按钮发送电子邮件?

[英]How can i send email with Voting buttons via shell script?

I have an existing email chaser system based on linux where we send emails to a large list of individual asking to reply on email with their confirmation and they can reply with options like a1,a2,a3,a4 or a5 which is working ok but teh percentage of response we are receiving is less so to make it more easy for them we would like to add clickable features like Voting buttons, can someone help me in this please? 我有一个基于linux的现有电子邮件追踪系统,我们将电子邮件发送到一大堆个人,要求他们在确认时回复电子邮件,他们可以使用a1,a2,a3,a4或a5之类的选项进行回复,但工作正常,但是我们收到的回应百分比较少,因此为了使他们更容易,我们想添加可点击功能,例如投票按钮,有人可以帮我吗?

I know how to do it in vbscript but not sure if linux can do it and I cant find any solution in forums yet, we have limitations which prevent us using any third party tools so we have to use Linux inbuild modules. 我知道如何在vbscript中做到这一点,但是不确定Linux是否可以做到这一点,而且我还没有在论坛中找到任何解决方案,我们的局限性使我们无法使用任何第三方工具,因此我们必须使用Linux内置模块。

If voting is not possible then at-least can generate some clickable links when they click it will generate a corresponding response in subject line which we can grab late by some other process. 如果无法进行投票,那么至少他们可以在单击时生成一些可单击的链接,这将在主题行中生成相应的响应,我们可以通过其他一些过程来获取较晚的响应。

thanks in advance. 提前致谢。

not sure about voting, but you could simply send html email with clickable links etc as below: 不确定投票,但您可以发送带有可点击链接的html电子邮件,如下所示:

cat <<EOF | sendmail -t
To: someone@mail.com
Subject: A subject
From: A sender
MIME-Version: 1.0
Content-Type: text/html
<html>
<body>
<a href="www.google.com">GOOGLE</a>
</body>
</html>
EOF

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM