<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Try adding :SSL T to you call to CL-SMTP:SEND-MAIL.<div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">  - Gary</div><div class=""><span style="-webkit-text-decorations-in-effect: none; text-align: -webkit-auto;" class="">    Clozure Associates</span></div><div class=""><br class=""></div></div></div></span></div></span></div></div><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Feb 23, 2020, at 7:53 PM, Mark Klein <<a href="mailto:m_klein@mit.edu" class="">m_klein@mit.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class=""><br class="">
</div>
Hi,
<div class=""><br class="">
</div>
<div class="">I’d like to use cl-smtp to send emails using the gmail smtp server. This is my function:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">(defun sm (&key from to (subject "") (message "") test)</div>
<div class="">  (declare (ignore from test))</div>
<div class="">  (cl-smtp:send-email "<a href="http://smtp.gmail.com/" class="">smtp.gmail.com</a>" "<a href="mailto:kleinmark50@gmail.com" class="">kleinmark50@gmail.com</a>" to subject message </div>
<div class="">                      :port 587 </div>
<div class="">                      :html-message message</div>
<div class="">                      :authentication `(:login "<a href="mailto:kleinmark50@gmail.com" class="">kleinmark50@gmail.com</a>” ,*password*)))</div>
<div class=""><br class="">
</div>
<div class="">This is the error message:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">> Error: #<NO-SUPPORTED-AUTHENTICATION-METHOD SMTP authentication has been requested, but the SMTP server did not advertise any supported authentication scheme.  Features announced: "SIZE 35882577", "8BITMIME", "STARTTLS", "ENHANCEDSTATUSCODES",
 "PIPELINING", "CHUNKING", "SMTPUTF8"></div>
<div class="">> While executing: CL-SMTP::SMTP-AUTHENTICATE, in process Listener(4).</div>
</div>
<div class=""><br class="">
</div>
<div class="">Any suggestions how I can fix this? Is the port or authentication type incorrect? Does cl-smtp support the kind of authentication that gmail requires (cl-smtp works for other email servers)? Is there some other smtp client library I should use
 instead?</div>
<div class=""><br class="">
</div>
<div class="">This probably not specifically a CCL-specific issue, sorry about that, but you guys have been super-helpful with my other questions so I hope you can weigh in.</div>
<div class=""><br class="">
</div>
<div class="">    Thanks!</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>Mark</div>
<div class=""><br class="">
</div>
<div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
----------------------<br class="">
Mark Klein, PhD<br class="">
Principal Research Scientist<br class="">
Massachusetts Institute of Technology<br class="">
<a href="http://cci.mit.edu/klein/" class="">http://cci.mit.edu/klein/</a><br class="">
<br class="">
<br class="">
</div>
</div>
</div>
<br class="">
</div>
</div>

_______________________________________________<br class="">Openmcl-devel mailing list<br class=""><a href="mailto:Openmcl-devel@clozure.com" class="">Openmcl-devel@clozure.com</a><br class="">https://lists.clozure.com/mailman/listinfo/openmcl-devel<br class=""></div></blockquote></div><br class=""></div></body></html>