Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


gmail_on_linux_with_ssmtp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gmail_on_linux_with_ssmtp [2015/11/04 09:55] juckinsgmail_on_linux_with_ssmtp [2025/03/20 19:56] (current) juckins
Line 1: Line 1:
-Sending email on linux using SSMTP.+==== Sending email via Gmail using SSMTP ====
  
 [[http://www.nixtutor.com/linux/send-mail-with-gmail-and-ssmtp/]] [[http://www.nixtutor.com/linux/send-mail-with-gmail-and-ssmtp/]]
Line 7: Line 7:
 [[http://www.terminally-incoherent.com/blog/2006/09/29/mutt-with-ssmtp/]] [[http://www.terminally-incoherent.com/blog/2006/09/29/mutt-with-ssmtp/]]
  
-Edit ~/.muttrc for each user as appropriate:+Edit ~/.muttrc for each user as appropriate (not that $HOSTNAME does not seem to be set with cron sending)
  
 <code> <code>
Line 47: Line 47:
 4 November 2015 4 November 2015
  
-Gmail stopped working.  Try a PHP or Perl solution?  Does it require SSMTP or MSMTP?+Gmail stopped working.  
  
 This did not work: https://productforums.google.com/forum/?hl=en#!topic/gmail/2tK2fR7yW-k;context-place=forum/gmail This did not work: https://productforums.google.com/forum/?hl=en#!topic/gmail/2tK2fR7yW-k;context-place=forum/gmail
  
-Try this: https://www.digitalocean.com/community/tutorials/how-to-use-gmail-or-yahoo-with-php-mail-function +Try a PHP or Perl solution, but does it require SSMTP or MSMTP?
  
 +Final answer was to configure [[gmail_as_a_relay_on_linux|Gmail as a Relay]]
gmail_on_linux_with_ssmtp.1446648922.txt.gz · Last modified: 2015/11/04 09:55 by juckins