Skip to content

kayrus/smtp-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smtp-tester

A tool to run SMTP stress tests

Help

Usage of smtp-tester:
  -debug
        show debug logs
  -from string
        Envelope from sender address
  -header-from string
        Header from sender address, if empty defaults to --from
  -max-mails uint
        Limit the amount of emails, 0 means no limit
  -password string
        SMTP server password
  -reuse-smtp
        Reuse SMTP connection
  -show-error
        show error type on auth failure
  -size uint
        Message size in bytes (default 30720)
  -smtp-host string
        SMTP server address
  -starttls
        whether to require StartTLS (default true)
  -subject string
        Email subject (default "hello")
  -threads uint
        Whether to run an infinite loop with an amount of threads
  -timeout uint
        Timeout in seconds (default 3)
  -to string
        Recipient address
  -username string
        SMTP server username

Example

smtp-tester -max-mails 1000 \
  -from [email protected] \
  -to [email protected] \
  -show-error \
  -smtp-host localhost:25 \
  -threads 100 \
  -username user \
  -password password \
  -size 10 \
  -timeout 30 \
  -starttls=false

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published