Skip to content

sajjad-salam/email_sender_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Email Sending Telegram Bot

This Telegram bot script allows you to send emails via Telegram. You can configure the sender's email, password, recipient's email, subject, message, interval between messages, and the number of messages to be sent.

 

Spotify


## Requirements
  • Python 3.x
  • telebot
  • smtplib

Configuration & RUNING

  1. Install the required packages by running pip install -r requirements.txt
  2. Set up a Telegram bot and obtain the bot token.
  3. Replace 'توكنك' with your bot token. in line 51 in main.py.
  4. Customize the allowed users by adding their user IDs to the allowed_users list. in line 76 in main.py
  5. now just run the bot by python main.py

Usage

  1. Start the bot.
  2. Use the provided buttons to add recipients, senders, set email subject and message, set interval, set message count, and start sending emails.
  3. The bot will send emails according to the configured settings.

Important Notes

  • Make sure to keep your email credentials secure.
  • Use this bot responsibly and ensure compliance with email service provider policies.
  • Error handling is implemented to handle potential issues during the email sending process.
  • Make sure your Telegram bot is set up to handle commands and callback queries.

Contributors

Feel free to contribute, report issues, or suggest improvements by creating a pull request or opening an issue on GitHub.

About

بوت رفع خارجي

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages