Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: MRAB Newsgroups: comp.lang.python Subject: Re: SMTP_SSL error in python 2.3 Date: Thu, 28 Jul 2016 21:04:09 +0100 Lines: 20 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de Xv83pOSImhlWXPNdOHtG5AhRsljVASXrJYyKm8PhC84w== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python': 0.10; 'itself.': 0.11; 'subject:error': 0.11; '2.7': 0.13; 'subject:python': 0.14; 'thu,': 0.15; '2016': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'i.e': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:192.168.1.4': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'smtp_ssl': 0.16; 'wrote:': 0.16; 'attribute': 0.18; 'ssl': 0.18; 'version.': 0.18; 'all,': 0.20; 'header:In-Reply-To:1': 0.24; 'sort': 0.25; 'header :User-Agent:1': 0.26; 'chris': 0.26; 'supported': 0.27; 'error': 0.27; '2.3': 0.27; 'received:84': 0.32; 'point,': 0.33; 'running': 0.34; 'gives': 0.35; 'python.org': 0.35; 'but': 0.36; 'to:addr :python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'method': 0.37; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'still': 0.40; 'dont': 0.64; 'contact': 0.66; 'here': 0.66; 'guaranteed': 0.67; 'dear': 0.67; 'jul': 0.72; 'upgrading': 0.72; 'assistance?': 0.84; 'subject:2.3': 0.84 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.2 cv=DaJVkblW c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=IkcTkHD0fZMA:10 a=pGLkceISAAAA:8 a=8AHkEIZyAAAA:8 a=uPZiAMpXAAAA:8 a=pKG33Ys5Mk-04sfz-7oA:9 a=r2YrnEBakp2OZFCg:21 a=j0IRmIUkvcJ7RylT:21 a=6kGIvZw6iX1k4Y-7sg4_:22 a=7K4yPEzc-uA7A4xFz8XL:22 a=svzibyHiZmA4t4YY0eFS:22 X-AUTH: mrabarnett@:2500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: Xref: csiph.com comp.lang.python:111992 On 2016-07-28 19:29, Chris Angelico wrote: > On Thu, Jul 28, 2016 at 10:14 PM, Mushirahmed Shaikh wrote: >> Dear All, >> I am sending email using smtplib.SMTP_SSL method in python2.3. >> But it gives the error i.e Attribute error for SMTP_SSL. >> Please help me to call SMTP_SSL method in python2.3. >> I dont want to update the python version. >> > > At this point, the only place where you can get any sort of guaranteed > Python 2.3 support is Red Hat. Do you have a Red Hat license? Can you > contact them for assistance? Unless you're running RHEL, I would > *strongly* recommend upgrading to Python 2.7 or 3.5, which are still > well supported by Python.org itself. > There's an answer here that might be relevant: Sending mail with SSL with Python 2.3 http://stackoverflow.com/questions/7926565/sending-mail-with-ssl-with-python-2-3