Trashemail是托管电报机器人,可以通过提供一次性电子邮件地址来保存您的私人电子邮件地址。它可以创建,管理,一次性电子邮件地址,并将它们与您的电报机器人聊天链接。
忘记垃圾邮件,广告邮件,黑客攻击和攻击机器人。保持您的真实邮箱清洁和安全。拖运提供临时,安全,匿名,免费,一次性电子邮件地址。想得到一个吗?它在这里:@trashemail_bot
一次性电子邮件- 是一项服务,允许在临时收到电子邮件(在此,以防您的临时因素)解决了一定时间之后自我毁灭的问题。它也以:tempmail,10 minutemail,thrawaway电子邮件,假邮件或垃圾邮件的名称而闻名。许多论坛,Wi-Fi所有者,网站和博客都要求访问者在查看内容,发布评论或下载内容之前注册。
Trashemail不是最高级的抛出电子邮件服务,而是可靠的服务,可以帮助您避免垃圾邮件,保持安全并将电子邮件直接发送到您的@trashemail_bot Telegram bot 。如果您收到太多这样的邮件,只需删除电子邮件ID :)用一键命令(oops命令,因为这是电报bot)。
有些网站提供此类功能(例如https://temp-mail.org/en/ etc),但此类平台的某些问题:
考虑到所有这些,我决定从我的爱好中制作一个开源项目,并认为将其作为对他人的服务:)我的服务的方式更好的比他们的:
Trashemail是Java Spring-boot微服务,任何人都可以在本地构建,但很少有设置来调整,然后在本地运行整个设置。您需要拥有的只是邮件服务器(SMTP和IMAP),Telegram Bot令牌和本地mvn
以构建它。邮件服务器的要求很少:
我必须稍微更新配置,并将快速进行。 :)
您需要做的就是克隆来源,构建和运行,然后告诉电报您在这里听。
git clone https://github.com/r0hi7/Trashemail.git
cd Trashemail
# Copy EmailsToTelegramServiceConfig-sample.yml and
# TrashEmailServiceConfig-sample.yml files
# according to your environemnt
# Let's say you want to deploy it for dev env
# Then copy these files like
cp EmailsToTelegramServiceConfig-sample.yml EmailsToTelegramServiceConfig-dev.yml
cp TrashEmailServiceConfig-sample.yml TrashEmailServiceConfig-dev.yml
# Now modify the respective copied files with your configs
# Similarly, it can be deployed be "qa", "prod" environments
# Finally, run the script build-and-run.sh with env as an argument
bash build-and-run.sh dev
# If you dont want to deploy it in docker-compose, then
# Use Makefile directly
# It will create targets for EmailsToTelegramService and TrashEmailService respectively
make dev
开发配置看起来像这样: EmailsToTelegramServiceConfig-dev.yml
# Email Server IMAP and SMTP configuration
# SMTP server should support Alias creation and deletion
# IMAP server should support IDLE
trashemail :
host : trash-email-service
port : 9090
path : /getChatId/
imap-client-service :
telegram :
url : https://api.telegram.org/bot
bot-token : xxxxxxxxxxxxxxxxxxxxxx
size : 4096
imap :
host : trashemail.in
port : 993
email : [email protected]
password : changeme
emails :
hostPath : http://127.0.0.1:8000/
downloadPath : /opt/EmailsToTelegramService/mails/
# main will specify springboot application to
# no start any tomcat server, which is not even
# required for emailservice.
spring :
application :
name : EmailsToTelegramService
main :
web-application-type : none
TrashEmailServiceConfig-dev.yml
# Tomcat server settings
server :
port : 9090
# Email server configuration for SMTP alias creation
email-server :
hosts :
- trashemail.in
- thromail.com
- humblemail.com
admin-email : [email protected]
admin-password : sample
add-url : https://trashemail.in/admin/mail/aliases/add
remove-url : https://trashemail.in/admin/mail/aliases/remove
target-alias : [email protected]
# Sample config for connecting with mysql-docker
spring :
datasource :
url : jdbc:mysql://mysql:3306/trashemail
username : root
password : changeme
driver-class-name : com.mysql.jdbc.Driver
jpa :
database-platform : org.hibernate.dialect.MySQL5InnoDBDialect
hibernate :
ddl-auto : update
show-sql : true
application :
name : Trashemail
# Trashemail app server settings
trashemail :
max-emails-per-user : 4
# Logger settings
logging :
level :
io :
github :
trashemail : debug
localhost:9090/telegram/new-message
端点上旋转服务。ngrok
, dataplicity
, localtunnel
等。ngrok
ngrok
HTTPS URLmysql
照顾webhook
,此webhook
将告诉电报发送机器人传入请求curl -F " url=https://<YOUR_DOMAIN>/telegram/new-message " https://api.telegram.org/bot < BOT_TOKEN > /setWebhook
我试图设计此服务以可靠,以防如果您发现可靠性(或其他任何内容)的任何问题,请随时放入PR中。我很乐意审查和合并。
Zlipa.com自豪地捐赠了两个域Thromail.com和Humblemail.com。 Zlipa为初创企业,Bootstrapper等提供域名,市场价格较小。令人兴奋吗?只需结帐一次即可。
如果您喜欢这个主意,然后给我买咖啡,我会在血液中得到咖啡因,并花额外的夜晚使该产品安全,启动和运行?