help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with TLS when sending emails


From: Robert Pluim
Subject: Re: Problem with TLS when sending emails
Date: Wed, 11 May 2022 18:28:21 +0200

>>>>> On Wed, 11 May 2022 18:20:33 +0200, Alessandro Bertulli 
>>>>> <alessandro.bertulli96@gmail.com> said:

    Alessandro> Thanks Robert! I changed my init code to
    Alessandro> (setq smtpmail-smtp-server "smtp.gmail.com"
    Alessandro>       smtpmail-smtp-service 465
    Alessandro>       smtpmail-stream-type  'ssl
    Alessandro>       smtpmail-debug-info t)

    Alessandro> And now it works. A couple of fun facts: indicating as
    Alessandro> smtpmail-smtp-service the string "smtps" actually doesn't work, 
because
    Alessandro> my system is not able, apparently, to resolve it. So I had to 
put the
    Alessandro> integer port. Moreover, I also had to add a new line to the
    Alessandro> ~/.authinfo.gpg file. However, now it properly works. Thank you 
really
    Alessandro> much!

Oh, on some systems 465 is spelled 'submissions', it appears (look in
/etc/services). Glad you got it working.

Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]