Easy newsletter sending in Rust https://42l.fr
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.4KB

  1. # Wassup default configuration file.
  2. # Copy it in the same folder and name it "config.toml" before editing.
  3. # The email address that will be displayed to all recipients (From: header)
  4. send_as_email = "newsletter@example.com"
  5. # The email address' display name (also in the From: header)
  6. send_as_name = "My Newsletter"
  7. # The account that is authorized to send emails from the address above
  8. # If you don't know, use the send_as_email address.
  9. sender_email = "newsletter-mailer-account@example.com"
  10. # The mail account password.
  11. sender_password = "mysup3rv3rys3cur3p4ssw0rd"
  12. # People will send a mail to this address to unsubscribe.
  13. # Ensure its validity. (List-Unsubscribe: header)
  14. unsubscribe_email = "unsubscribe@example.com"
  15. # The address people *should* use if they want to reply.
  16. # If you don't know, use the send_as_email address.
  17. reply_to = "contact@example.com"
  18. # Your mail server address.
  19. server_address = "mail.example.com"
  20. # Your mail server submission port.
  21. server_port = 587
  22. # Your email template in plaintext
  23. path_template_txt = "Newsletter-template.txt"
  24. # Your email template in HTML
  25. path_template_html = "Newsletter-template.html"
  26. # Your mailing list. One email address per line.
  27. path_address_list = "./email-list.txt"
  28. # Use this if you want the software to decrypt your address list.
  29. is_encrypted_addresses = false
  30. # If your email list is encrypted, specify the private key.
  31. # Else, leave empty.
  32. email_privkey = "../../newsletter-private-key.der"