CyberKeeda In Social Media
Showing posts with label Mail Tricks. Show all posts
Showing posts with label Mail Tricks. Show all posts

How to send emails from Linux terminal and shell scripts using GMAIL



GMAIL SMTP Configuration on Linux Box.


Video Tutorial.



###########  Use GMAIL SMTP server to send mails ##################


# yum install -y mailx

Lets tell google we gonna send emails from other devices also.

https://myaccount.google.com/lesssecureapps

Edit

# vim /etc/mail.rc

#----------- add the below lines and append as per your credentials.


set smtp=smtps://smtp.gmail.com:465
set smtp-auth=login
set smtp-auth-user=USERNAME@YOURDOMAIN.COM
set smtp-auth-password=YOURPASSWORD
set ssl-verify=ignore
set nss-config-dir=/etc/pki/nssdb/

Update the gmail account credentails over here and save

# Now we are all done , we will be using gmail to send email from our linux box.

echo "Relay Test" | mail -v -s "Relay test" anyworkingemailid@anydomain.com

anyways...  you send it to multiple domains now..

Rememeber ... From email id will be the same that you have configured within /et/mail.rc file

# Thanks


Read more ...

Track IP Address of the sender in Yahoo Mail!!

  Trace IP Address of the sender in Yahoo Mail!!

image
1. Log into your Yahoo! mail with your username and password.
2. Click on Inbox or whichever folder you have stored your mail.
3.Open the mail.
4. If you do not see the headers above the mail message, your headers are not displayed . To display the headers,
* Click on Options on the top-right corner
* In the Mail Options page, click on General Preferences
* Scroll down to Messages where you have the Headers option
Read more ...
Designed By Jackuna