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

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 2012-09-11 18:42 -0400
Organization > Bestiaria Support Staff <
References <0f6686fd-7363-43d6-a5fa-0bd4f12586b5@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.522.1347403322.27098.python-list@python.org> (permalink)

Show all headers | 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