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等提供域名,市場價格較小。令人興奮嗎?只需結帳一次即可。
如果您喜歡這個主意,然後給我買咖啡,我會在血液中得到咖啡因,並花額外的夜晚使該產品安全,啟動和運行?