Difference between revisions of "Send email"
Jump to navigation
Jump to search
(Created page with " {{mailx}}") |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | == Using Gmail == | ||
+ | * 1) Create login using: [[Sign in with app passwords]] | ||
+ | * 2) | ||
+ | [[swaks -4]] --server smtp.gmail.com -tlsc --tls-protocol TLSv1_2 \ | ||
+ | --from [your full gmail account email that app password was setup for] --to [email protected],[email protected] \ | ||
+ | --auth LOGIN --auth-user [same as from] --auth-password [your generated app password] -apt \ | ||
+ | --h-Subject 'Test email' --body 'Email system test.' | ||
− | {{mailx}} | + | == [[ssmtp]] == |
+ | {{ssmtp example}} | ||
+ | |||
+ | |||
+ | == Related == | ||
+ | * [[swaks]] | ||
+ | * [[Sign in with app passwords]] | ||
+ | |||
+ | == See also == | ||
+ | * {{mailx}} | ||
+ | * {{ssmtp}} | ||
+ | * {{Gmail}} |
Latest revision as of 13:09, 19 November 2024
Contents
Using Gmail[edit]
- 1) Create login using: Sign in with app passwords
- 2)
swaks -4 --server smtp.gmail.com -tlsc --tls-protocol TLSv1_2 \ --from [your full gmail account email that app password was setup for] --to [email protected],[email protected] \ --auth LOGIN --auth-user [same as from] --auth-password [your generated app password] -apt \ --h-Subject 'Test email' --body 'Email system test.'
ssmtp[edit]
[email protected] mailhub=smtp.gmail.com:465 FromLineOverride=YES [email protected] AuthPass=yourpassword UseTLS=YES
https://unix.stackexchange.com/a/363815
Related[edit]
See also[edit]
Advertising: