<?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: Saving Processing Results to a text file in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474521#M37143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you so much .. that is working perfectly for me! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On a side note does anyone know of any good websites, or any good books related to both Python and ArcGIS? One of these days I need to breakdown and just learn it I think.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2011 16:07:11 GMT</pubDate>
    <dc:creator>ChristinaGnadinger</dc:creator>
    <dc:date>2011-09-02T16:07:11Z</dc:date>
    <item>
      <title>Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474519#M37141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am hoping that this is a simple question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running python scripts through the Windows scheduled tasks and would like to come in the next morning to make sure the processes have ran completely, and without errors. Is there a command line I can insert into the python scripts that can output these result to a text file for me? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance for your help! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Christina&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2011 11:28:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474519#M37141</guid>
      <dc:creator>ChristinaGnadinger</dc:creator>
      <dc:date>2011-09-02T11:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474520#M37142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use the python &lt;/SPAN&gt;&lt;A href="http://docs.python.org/library/functions.html#open" rel="nofollow noopener noreferrer" target="_blank"&gt;open&lt;/A&gt;&lt;SPAN&gt; function to accomplish this.&amp;nbsp; You could write to a text file whether a script/tool was executed successfully or not.&amp;nbsp; Below is an example.&amp;nbsp; If the text file does not exist, it will automatically be created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy, os
from arcpy import env
env.workspace = r"c:\temp\python\test.gdb"

outtable = open(r"C:\temp\results.txt", "w")

try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.FeatureClassToFeatureClass_conversion("Airports", env.workspace, "Airports2")
&amp;nbsp;&amp;nbsp;&amp;nbsp; outtable.write("Converted successfully")
except arcpy.ExecuteError:
&amp;nbsp;&amp;nbsp;&amp;nbsp; outtable.write(arcpy.GetMessages())

outtable.close() &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474520#M37142</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-11T20:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474521#M37143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you so much .. that is working perfectly for me! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On a side note does anyone know of any good websites, or any good books related to both Python and ArcGIS? One of these days I need to breakdown and just learn it I think.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2011 16:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474521#M37143</guid>
      <dc:creator>ChristinaGnadinger</dc:creator>
      <dc:date>2011-09-02T16:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474522#M37144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I highly recommend the class '&lt;/SPAN&gt;&lt;A href="http://training.esri.com/gateway/index.cfm?fa=catalog.courseDetail&amp;amp;CourseID=50121644_10.x"&gt;Introduction to Geoprocessing Scripts Using Python&lt;/A&gt;&lt;SPAN&gt;'.&amp;nbsp; It gives a great overview of using python with ArcGIS and the new Esri-developed Python site package Arcpy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2011 16:17:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474522#M37144</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2011-09-02T16:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474523#M37145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you!! I will definitely look into that!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2011 16:33:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474523#M37145</guid>
      <dc:creator>ChristinaGnadinger</dc:creator>
      <dc:date>2011-09-02T16:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474524#M37146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As far as books, I have a few kicking around the office, but when I need something dumbed down for me a little, I tend to hit up my copy of "Python for Dummies" Like most Dummies books, it really helps you get going.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2011 17:19:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474524#M37146</guid>
      <dc:creator>MikeMacRae</dc:creator>
      <dc:date>2011-09-02T17:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474525#M37147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thank you so much .. that is working perfectly for me! &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the risk of complicating things, another option is to get python to send you an email if it fails. Some examples are &lt;/SPAN&gt;&lt;A href="http://docs.python.org/library/email-examples.html"&gt;here &lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know enough about python to get this working at this stage, but it's certainly something I would like to implement for scheduled tasks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do happen to go this way I'll trade you: my idea for your code . &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 05:26:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474525#M37147</guid>
      <dc:creator>MalcolmParnell2</dc:creator>
      <dc:date>2011-09-05T05:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474526#M37148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is a way you can do it; writes the text file&lt;/SPAN&gt;&lt;STRONG&gt; and&lt;/STRONG&gt;&lt;SPAN&gt; sends an email. The trickiest bit is getting it to work with your specific SMTP email server. If you have gmail it's easy as pie; if not - google around...&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import smtplib
import arcpy
 
### This is the module that does the sending - you should only need to edit the top four active lines
def sendResultEmail(msgContents, success_TF):
 to = 'receiver@email.com'
 send_username = 'sender@email.com'
 send_password = 'password' # warning - will just be an unencrypted string - so be careful not to leave this file lying around!
 
 # This is the tricky bit - here are the settings for gmail (which will only work if your sender is gmail and you have a gmail account).
 # If you are using something else, google around smtplib and the email service you use.
 # I would suggest gmail is probably a pretty good start if you have an account...
 smtpserver = smtplib.SMTP("smtp.gmail.com",587)

 
 if success_TF:
&amp;nbsp; subject = 'Arcpy testing results: script SUCCESS.'
 else:
&amp;nbsp; subject = 'Arcpy testing results: script FAILURE.'
&amp;nbsp; 
 smtpserver.ehlo()
 smtpserver.starttls()
 smtpserver.ehlo
 smtpserver.login(send_username, send_password)
 
 header = 'To:' + to + '\n' + 'From: ' + send_username + '\n' + 'Subject:' + subject + '\n'

 msg = header + '\nArcpy results: \n\t' + msgContents + '\n'
 
 smtpserver.sendmail(send_username, to, msg)
 
 arcpy.AddMessage('Results email sent!')
 
 smtpserver.close()


### Here is the geoprocessing code; add to strResult every time you need to add something to the message (i.e. completion times)
### In a complex code this could be a lot of information, so seperate with '\n' to force new lines in the text...

inFC = arcpy.GetParameterAsText(0)
outLoc = arcpy.GetParameterAsText(1)
outFC = arcpy.GetParameterAsText(2)

success = False # assume failure (changed to True if script is successful)
strResult = '' # start empty string - write to this, for saving to text file and sending to email

try:
 arcpy.FeatureClassToFeatureClass_conversion(inFC, outLoc, outFC)
 strResult += "Converted successfully \n"
 success = True
except arcpy.ExecuteError:
 strResult += arcpy.GetMessages()

arcpy.AddMessage(strResult)

# Now write results to the text file
outtable = open(r"C:\temp\results.txt", "w")
outtable.write(strResult)
outtable.close()

# Now send the email. This line calls the module above, passing it the string and the T/F success variable...
sendResultEmail(strResult, success)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know how you get on.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:31:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474526#M37148</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2021-12-12T16:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474527#M37149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'll have to check out the Python for Dummies book .. sometimes I like those better since they're a bit less like reading stereo instructions at times &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; .. I've been rooting through the Python online reference PDFs and they are not the most interesting reads out there. Thanks for the recommendation! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also .. I was thinking about the whole email concept but decided it was way over my head .. however you have me interested in doing it now. I may look into that and see if I can make it work on my end.. If so I'll definitely give you all an update! Thanks for the start up on that &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 18:13:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474527#M37149</guid>
      <dc:creator>ChristinaGnadinger</dc:creator>
      <dc:date>2011-09-06T18:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474528#M37150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;On a side note does anyone know of any good websites, or any good books related to both Python and ArcGIS? One of these days I need to breakdown and just learn it I think.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm actually trying to develop a library of tutorials and examples on my blog, which I hope one day will be a good resource for people! At the moment it only has very basic stuff and some very specific advanced stuff. I would really like to hear what people are struggling with so I can build some tutorials in those areas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently planning a &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Python Essentials for Arcpy&lt;/SPAN&gt;&lt;SPAN&gt; which will cover some of the basics, especially the handy little things that Python can do which make scripts better than modelbuilder models, and an &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Arcpy Code Optimization&lt;/SPAN&gt;&lt;SPAN&gt; tutorial which will cover the methodological process of developing geoprocessing scripts, and how to leverage Python functionality to improve speed (and reliability).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, if you have any specific questions, comments on the proposed tutorials above, or things you would like information on, please let me know and I'll try to help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 21:54:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474528#M37150</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2011-09-08T21:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474529#M37151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Here is a way you can do it; writes the text file&lt;STRONG style="font-style: italic;"&gt; and&lt;/STRONG&gt; sends an email. The trickiest bit is getting it to work with your specific SMTP email server. If you have gmail it's easy as pie; if not - google around...&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Let me know how you get on.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Stacey, that's a massive help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried with my gmail account, but didn't have success. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error I get is&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;socket.error: [Errno 10061] No connection could be made because the target machine actively refused it&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect it may be something to do with our firewall blocking a port, although I really don't know. I'm pretty sure the "target machine" is actually ours, not smtp.gmail.com . This is somewhat out of my knowledge base! Google hasn't helped a great deal yet ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone with any suggestions? This really is a great way to report exceptions in batch processing, as everyone gets tired really quickly of checking log files, especially when they're (hopefully) mostly not containing any errors. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 00:38:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474529#M37151</guid>
      <dc:creator>MalcolmParnell2</dc:creator>
      <dc:date>2011-09-09T00:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474530#M37152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Malcolm,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The actual email sending code was amalgamated from some examples I found on the net, I don't know much about it other than that it worked for me (and what I have picked up from mucking around with different email clients over the years)!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some googling revealed that your problem may be to do with a firewall&amp;nbsp; - see&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://www.mobileread.com/forums/archive/index.php/t-119487.html"&gt;here&lt;/A&gt;&lt;SPAN&gt;. Do you have a firewall on your computer? Are Python and ArcGIS allowed to communicate through it? My firewall pops up a little message any time a new program tries to get through it, but it could be automatically blocked on yours.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using a workplace computer it may be that your workplace has some kind of firewall that is blocking your connection to gmail (but if you can access gmail from your workplace, this probably isn't the case)... Your other option, if it is a workplace computer you are using, is that you might be able to try and get the SMTP server details for your work email - so it would instead be the sender - and do it that way. Depending on the type of security that server has, you might need to make some changes to the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know how it goes!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;p.s. Just found &lt;A href="http://www.smartftp.com/support/kb/connection-refused-f58.html"&gt;this&lt;/A&gt; - a list of potential causes, and solutions, for "No connection could be made because the target machine actively refused it." errors...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 01:16:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474530#M37152</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2011-09-09T01:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474531#M37153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Malcolm,&lt;BR /&gt;&lt;BR /&gt;Some googling revealed that your problem may be to do with a firewall&amp;nbsp; -...&lt;BR /&gt;&lt;BR /&gt;If you are using a workplace computer it may be that your workplace has some kind of firewall that is blocking your connection to gmail (but if you can access gmail from your workplace, this probably isn't the case)... &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stacy (and others),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, it's a work computer related issue. I've tried this at home on my personal computer and it has worked perfectly. Now for the difficult bit - trying to get an answer from the work IT people!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your help and I'll be following your blog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Sep 2011 04:32:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474531#M37153</guid>
      <dc:creator>MalcolmParnell2</dc:creator>
      <dc:date>2011-09-11T04:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474532#M37154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Stacy (and others),&lt;BR /&gt;Yes, it's a work computer related issue. I've tried this at home on my personal computer and it has worked perfectly. Now for the difficult bit - trying to get an answer from the work IT people!&lt;BR /&gt;&lt;BR /&gt;Thanks again for your help and I'll be following your blog.&lt;BR /&gt;&lt;BR /&gt;Mal&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A follow up: Looks like McAfee is configured to block outgoing connections to port 25 to prevent worms: Anti-virus Standard Protection:Prevent mass mailing worms from sending mail xxx.xxx.xx.xxx:25&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately for me at least, I think this is a show stopper. The chance of me being able to convince IT to open this up is, to quote local vernacular, &lt;/SPAN&gt;&lt;A href="http://nma.gov.au/kidz/aussie_english_for_the_beginner/aussie_english_for_the_beginner_html_version/australian_history/slideshow_1_2.html"&gt;Buckley's and none&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 20:38:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474532#M37154</guid>
      <dc:creator>MalcolmParnell2</dc:creator>
      <dc:date>2011-09-12T20:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Processing Results to a text file</title>
      <link>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474533#M37155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Malcolm, as I said previously, you might be able to get the details for the SMTP server for your work email from IT, rather than using Gmail. Then you won't be making an outgoing connection - it will be just like sending a normal email...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hell, you might even be able to get the details yourself by trawling around your email program (Outlook or whatever) - you need to find:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;server name - i.e. smtp.comany.com&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;port - i.e. 587&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;security type - i.e. TLS or SSL&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 22:01:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-processing-results-to-a-text-file/m-p/474533#M37155</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2011-09-12T22:01:03Z</dc:date>
    </item>
  </channel>
</rss>

