<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Send Email in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/send-email/m-p/351422#M27545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you might want to compare to the official docs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A class="link-titled" href="https://docs.python.org/2/library/smtplib.html" title="https://docs.python.org/2/library/smtplib.html"&gt;20.12. smtplib — SMTP protocol client — Python 2.7.12 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is an example at the bottom. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Oct 2016 00:30:16 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2016-10-07T00:30:16Z</dc:date>
    <item>
      <title>Send Email</title>
      <link>https://community.esri.com/t5/python-questions/send-email/m-p/351421#M27544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to send an email via python after my script runs...I am referencing this web page&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.mkyong.com/python/how-do-send-email-in-python-via-smtplib/" title="https://www.mkyong.com/python/how-do-send-email-in-python-via-smtplib/" rel="nofollow noopener noreferrer" target="_blank"&gt;How to send email in Python via SMTPLIB&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put in my Gmail user and password, not the one below...and run it...that's all I changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error...wondering if anyone has done this before or have any other examples on how to do this.&lt;/P&gt;&lt;H6 id="toc-hId-891807584"&gt;&lt;/H6&gt;&lt;H6 id="toc-hId--1660349377"&gt;&lt;EM style="font-size: 12px;"&gt;&lt;STRONG&gt;Traceback (most recent call last):&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&lt;STRONG&gt; File "C:/Users/tjv36463/Desktop/BearCollar/Python Files/ImportBearDataFiles_TestForExcel.py", line 62, in &amp;lt;module&amp;gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&lt;STRONG&gt; smtpserver = smtplib.SMTP("smtp.gmail.com",587)&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&lt;STRONG&gt; File "C:\Python27\ArcGISx6410.3\lib\smtplib.py", line 251, in __init__&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&lt;STRONG&gt; (code, msg) = self.connect(host, port)&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&lt;STRONG&gt; File "C:\Python27\ArcGISx6410.3\lib\smtplib.py", line 311, in connect&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&lt;STRONG&gt; self.sock = self._get_socket(host, port, self.timeout)&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&lt;STRONG&gt; File "C:\Python27\ArcGISx6410.3\lib\smtplib.py", line 286, in _get_socket&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&lt;STRONG&gt; return socket.create_connection((host, port), timeout)&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&lt;STRONG&gt; File "C:\Python27\ArcGISx6410.3\lib\socket.py", line 571, in create_connection&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&lt;STRONG&gt; raise err&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;EM style="font-size: 12px;"&gt;&lt;STRONG&gt;error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/H6&gt;&lt;H6 id="toc-hId-82460958"&gt;&lt;EM style="font-size: 12px;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/H6&gt;&lt;P&gt;&lt;EM style="font-size: 12px;"&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; smtplib

to &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;&lt;A class="jive-link-email-small" href="mailto:'mkyong2002@yahoo.com" rel="nofollow noopener noreferrer" target="_blank"&gt;'mkyong2002@yahoo.com&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;
gmail_user &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;&lt;A class="jive-link-email-small" href="mailto:'mkyong2002@gmail.com" rel="nofollow noopener noreferrer" target="_blank"&gt;'mkyong2002@gmail.com&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;
gmail_pwd &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'yourpassword'&lt;/SPAN&gt;
smtpserver &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; smtplib&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SMTP&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"smtp.gmail.com"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;587&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
smtpserver&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ehlo&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
smtpserver&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;starttls&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
smtpserver&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ehlo
smtpserver&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;login&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;gmail_user&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; gmail_pwd&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
header &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'To:'&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; to &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'\n'&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'From: '&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; gmail_user &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'\n'&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Subject:testing \n'&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; header
msg &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; header &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'\n this is test msg from mkyong.com \n\n'&lt;/SPAN&gt;
smtpserver&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sendmail&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;gmail_user&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; to&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; msg&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'done!'&lt;/SPAN&gt;
smtpserver&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;close&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:30:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/send-email/m-p/351421#M27544</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2021-12-11T16:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Send Email</title>
      <link>https://community.esri.com/t5/python-questions/send-email/m-p/351422#M27545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you might want to compare to the official docs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A class="link-titled" href="https://docs.python.org/2/library/smtplib.html" title="https://docs.python.org/2/library/smtplib.html"&gt;20.12. smtplib — SMTP protocol client — Python 2.7.12 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is an example at the bottom. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 00:30:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/send-email/m-p/351422#M27545</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-07T00:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Send Email</title>
      <link>https://community.esri.com/t5/python-questions/send-email/m-p/351423#M27546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that and was presented this in the Python 2.7.8 Shell&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Code:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;import smtplib

def prompt(prompt):
&amp;nbsp;&amp;nbsp;&amp;nbsp; return raw_input(prompt).strip()

fromaddr = prompt("From: ")
toaddrs&amp;nbsp; = prompt("To: ").split()
print "Enter message, end with ^D (Unix) or ^Z (Windows):"

# Add the From: and To: headers at the start!
msg = ("From: %s\r\nTo: %s\r\n\r\n"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; % (fromaddr, ", ".join(toaddrs)))
while 1:
&amp;nbsp;&amp;nbsp;&amp;nbsp; try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; line = raw_input()
&amp;nbsp;&amp;nbsp;&amp;nbsp; except EOFError:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break
&amp;nbsp;&amp;nbsp;&amp;nbsp; if not line:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break
&amp;nbsp;&amp;nbsp;&amp;nbsp; msg = msg + line

print "Message length is " + repr(len(msg))

server = smtplib.SMTP('localhost')
server.set_debuglevel(1)
server.sendmail(fromaddr, toaddrs, msg)
server.quit()&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-size: 15px;"&gt;&lt;STRONG&gt;Result in the Python 2.7.8 Shell&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;From: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:jay.xxx@xxx.gov" rel="nofollow noopener noreferrer" target="_blank"&gt;jay.xxx@xxx.gov&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;To: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:jay.xxx@xxx.gov" rel="nofollow noopener noreferrer" target="_blank"&gt;jay.xxx@xxx.gov&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;Enter message, end with ^D (Unix) or ^Z (Windows):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;Testing ^z&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Message length is 94&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; File "C:/Users/tjv36463/Desktop/BearCollar/Python Files/ImportBearDataFiles_TestForExcel.py", line 83, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; server = smtplib.SMTP('localhost')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; File "C:\Python27\ArcGISx6410.3\lib\smtplib.py", line 251, in __init__&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; (code, msg) = self.connect(host, port)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; File "C:\Python27\ArcGISx6410.3\lib\smtplib.py", line 311, in connect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; self.sock = self._get_socket(host, port, self.timeout)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; File "C:\Python27\ArcGISx6410.3\lib\smtplib.py", line 286, in _get_socket&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; return socket.create_connection((host, port), timeout)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; File "C:\Python27\ArcGISx6410.3\lib\socket.py", line 571, in create_connection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt; raise err&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px; color: #ff0000;"&gt;error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px; color: #ff0000;"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:31:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/send-email/m-p/351423#M27546</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2021-12-11T16:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Send Email</title>
      <link>https://community.esri.com/t5/python-questions/send-email/m-p/351424#M27547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So Dr Googled the actual error message links and ruled them out...&lt;/P&gt;&lt;P&gt;ie&amp;nbsp;&lt;A class="link-titled" href="http://stackoverflow.com/questions/2778840/socket-error-errno-10013-an-attempt-was-made-to-access-a-socket-in-a-way-forb" title="http://stackoverflow.com/questions/2778840/socket-error-errno-10013-an-attempt-was-made-to-access-a-socket-in-a-way-forb"&gt;python - socket.error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with things like virus protector, you aren't running as administrator...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 01:30:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/send-email/m-p/351424#M27547</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-07T01:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Send Email</title>
      <link>https://community.esri.com/t5/python-questions/send-email/m-p/351425#M27548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I logged in with an Admin account and same error....hmmmm&lt;/P&gt;&lt;P&gt;Our computers are pretty locked down as its a govt computer...McAfee is all over this machine...I tried to change the settings but no go they are disabled.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.symantec.com/connect/articles/we-are-unable-send-your-email-caused-mcafee" title="http://www.symantec.com/connect/articles/we-are-unable-send-your-email-caused-mcafee"&gt;"We are unable to send your email" caused by McAfee | Symantec Connect&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ugggggg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 02:13:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/send-email/m-p/351425#M27548</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2016-10-07T02:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Send Email</title>
      <link>https://community.esri.com/t5/python-questions/send-email/m-p/351426#M27549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well try sending an email from a computer you can control. &amp;nbsp;If it works, then you have your answer... your lack of admin privledges and/or virus scan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 03:17:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/send-email/m-p/351426#M27549</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-07T03:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Send Email</title>
      <link>https://community.esri.com/t5/python-questions/send-email/m-p/351427#M27550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use SMTP as well and as a government agency can say we have had this same error occur several times before. So I have seen 2 scenarios for us that triggered this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Network spikes/lag issues - we have created a centralized IT agency here in Ohio and rather than each agency managing their own exchange servers, etc. it's all handled by the new IT agency. Being that we are not co-located and due to some extensive networking that had to be done so the central IT could sit between the web and all agencies under it we have seen some minor oddities at times with things that have to be routed between agencies (essentially, having to define agency to agency traffic as external despite the fact that everything appears to be internal since all agencies are tucked behind the IT firewall).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Permissions at the SMTP end - The centralized IT office of course doesn't allow open ended admin rights to the exchange servers, etc. So they had to build in permissions to explicitly allow the service accounts&amp;nbsp;(running the&amp;nbsp;.py&amp;nbsp;scripts)&amp;nbsp;and sender accounts (FROM field of e-mail)&amp;nbsp;[had them do both to cover our bases and alleviate further wait times on 2 separate tickets] in order to allow the e-mails to be sent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 13:16:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/send-email/m-p/351427#M27550</guid>
      <dc:creator>ScottFierro2</dc:creator>
      <dc:date>2016-10-07T13:16:27Z</dc:date>
    </item>
  </channel>
</rss>

