Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #28907

Re: How to send email programmatically from a gmail email a/c when port 587(smtp) is blocked

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'below)': 0.07; 'username,': 0.07; 'subject:How': 0.09; 'python': 0.09; 'blocked': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sep': 0.09; 'subject:gmail': 0.09; 'server,': 0.15; 'daemon,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:port': 0.16; 'subject:send': 0.16; 'subject:when': 0.16; "shouldn't": 0.17; '(in': 0.18; 'subject:) ': 0.20; 'suggested': 0.20; 'sends': 0.22; 'replace': 0.27; 'header:X-Complaints-To:1': 0.28; 'subject:/': 0.28; 'fine': 0.28; 'run': 0.28; 'bold': 0.29; 'identifies': 0.29; 'privileges': 0.29; 'statements': 0.29; 'error': 0.30; 'up.': 0.31; 'code': 0.31; 'could': 0.32; 'url:home': 0.33; 'to:addr:python-list': 0.33; 'server': 0.35; 'problem,': 0.35; 'smtp': 0.35; 'something': 0.35; 'received:org': 0.36; 'but': 0.36; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'university': 0.38; 'nothing': 0.38; 'system.': 0.39; 'to:addr:python.org': 0.39; 'called': 0.39; 'google': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'matter': 0.61; 'solve': 0.62; 'production': 0.63; 'information': 0.63; 'overcome': 0.71; 'prompt': 0.78; 'friend': 0.81; 'pain': 0.84; 'dennis': 0.91; 'ports': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: How to send email programmatically from a gmail email a/c when port 587(smtp) is blocked
Date Tue, 11 Sep 2012 18:42:01 -0400
Organization > Bestiaria Support Staff <
References <0f6686fd-7363-43d6-a5fa-0bd4f12586b5@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-76-253-104-194.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 3.3/32.846
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.522.1347403322.27098.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1347403322 news.xs4all.nl 6964 [2001:888:2000:d::a6]:38987
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:28907

Show key headers only | View raw


On Tue, 11 Sep 2012 14:51:23 -0700 (PDT), ashish makani
<ashish.makani@gmail.com> declaimed the following in
gmane.comp.python.general:

> 
> The code above works perfectly fine on my local machine, but fails on the production server at the university where i work( all ports other than port 80 are blocked) :(
> 
> So , when i try to run the 2 py statements (in bold below) on a python prompt from the production server, which has port 587 blocked, i get the following error
> 
	<snip> 
> 
> 1. How can i overcome this ?
> A friend suggested , that i could use something called smtp relay, which would solve my problem, but would be time-consuming & a pain to set up.

	Which is correct... And is nothing YOU will set up (if you had the
privileges to create an SMTP daemon, you'd have the privileges to use a
blocked port).

	Just replace the SMTP server, username, and password with the
relevant information for your university system. It shouldn't matter
that the email identifies to recipients with a Google email ID -- all
you change is the /server/ that sends the email to the world.


-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to send email programmatically from a gmail email a/c when port 587(smtp) is blocked ashish makani <ashish.makani@gmail.com> - 2012-09-11 14:51 -0700
  Re: How to send email programmatically from a gmail email a/c when port 587(smtp) is blocked Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-11 18:42 -0400
  Re: How to send email programmatically from a gmail email a/c when port 587(smtp) is blocked Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-11 23:47 +0100
    Re: How to send email programmatically from a gmail email a/c when port 587(smtp) is blocked ashish <ashish.makani@gmail.com> - 2012-09-19 12:12 -0700
      Re: How to send email programmatically from a gmail email a/c when port 587(smtp) is blocked Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-20 08:56 +0100
    Re: How to send email programmatically from a gmail email a/c when port 587(smtp) is blocked ashish <ashish.makani@gmail.com> - 2012-09-19 12:12 -0700

csiph-web