Walter, Marc, <div><br></div><div>Thanks for your helpful suggestions & super quick replies.</div><div><br></div><div>As a noobie, i often run into brick walls, thinking something(problem i am stuck at) is not possible to do in python.</div>
<div>I love struggling against that problem & figuring a way out.</div><div><br></div><div>I have posted to the tutor mailing list in the past & the community here has always been amazingly welcoming & super helpful, so as a n00b, i was just a little taken aback &surprised at Emil's not particularly helpful , yet completely accurate response :)</div>
<div><br></div><div>Marc,</div><div>your 3rd point, </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
you could establish a VPN tunnel to some server outside of the university's network and send from port 587 on THAT machine.  Complicated, weird, and not horribly secure.  But doable.</blockquote><div>Could you point me to a good link/resource on how to do this ?</div>
<div><br></div><div>Walter, </div><div>you suggested writing a web service running somewhere else (e.g. Google Apps, AWS, etc) which i could request from my python code, which in turn would do the emailing.</div><div>Can you point me to any good links/example code which might explain writing a simple SOAP/ReST web service using port80(http) or preferably,  443(https). </div>
<div>I know nothing about web services, but could this web service essentially be the python email code, i mentioned in my original post, if i run it on Google App Engine ?</div><div><br></div><div><div>Thanks a ton,</div>
<div><br></div><div>Best,</div><div>ashish</div><br><div class="gmail_quote">On Wed, Sep 12, 2012 at 3:29 AM, Walter Prins <span dir="ltr"><<a href="mailto:wprins@gmail.com" target="_blank">wprins@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ashish,<br>
<div class="im"><br>
On 11 September 2012 22:44, ashish makani <<a href="mailto:ashish.makani@gmail.com">ashish.makani@gmail.com</a>> wrote:<br>
> These emails are automated diagnostic emails sent to a group of a few<br>
> admins, so we get notified when a python heartbeat script, detects a failure<br>
> in things like n/w connectivity, router status, etc.<br>
> We dont use university email, we use gmail.<br>
><br>
> Emile,<br>
> Please don't presume people's intentions (that we are sending spam) & judge<br>
> people without knowing anything about them.<br>
> We are a tiny startup trying to connect rural communities using voice & ivr<br>
> systems - <a href="http://gramvaani.org/" target="_blank">http://gramvaani.org/</a><br>
<br>
</div>OK, well I'm sure you can see how an apparent newbie asking to get out<br>
of a university network without any explanation can be seem um,<br>
suspect, so I think Emile's response was reasonable.   I must further<br>
note that I can't actually see how/where your request actually fits<br>
under the projects listed by that site.  So, colour me still a bit<br>
sceptical, but I'll give you the benefit of the doubt.<br>
<br>
So then, given that you can only get out on port 80, your only real<br>
option the way I see it is to write a small web service, maybe a SOAP<br>
or preferably ReST service, to run on e.g. Google APP engine that will<br>
do the emailing for you.    Of course, you'll have to consider whether<br>
to implement some security yourself if you use port 80 as the data<br>
going over the wire will be sent unencrypted.  It may not be a problem<br>
but then again it may.  Note, alternatively you can perhaps also use<br>
https (port 443), if that's also open as that will give you end-to-end<br>
encryption for free. (But I have no idea and suspect that this may<br>
also introduce a boatload of other complications...)<br>
<span class="HOEnZb"><font color="#888888"><br>
Walter<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Tutor maillist  -  <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>
</div>