-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f10cde5
commit 7ca2b8d
Showing
1 changed file
with
0 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,22 +72,3 @@ SMTP (Simple Mail Transfer Protocol) is the standard protocol for providing emai | |
|
||
|
||
|
||
#### To use the SMTP services on Raspberry Pi, we first have to install the SMTP library on Pi. Use the below command to install the same: | ||
|
||
### sudo apt-get install ssmtp | ||
|
||
|
||
Now we have to edit the configure file. For that, open Configuration file using the below command: | ||
|
||
### sudo nano /etc/ssmtp/ssmtp.conf | ||
|
||
|
||
A new window opens up and add the below lines there. Don’t forget to add your email and email password. After writting use keyboard's shift^O to save the below data in 'ssmtp.conf' file | ||
|
||
### root=postmail | ||
### mailhub=smpt.gmail.com:587 | ||
### AuthUser=[email protected] | ||
### AuthPass=youremailpassword | ||
### FromLineOverride=YES | ||
### UseSTARTTLS=YES | ||
### DEBUG=YES |