[Tutor] Initiating an external email transmission
steve at pearwood.info
Sat Jan 24 17:17:41 CET 2015
On Thu, Jan 22, 2015 at 07:09:24PM -0800, dw wrote:
> I have a python script that I've created.
> It logs into an online email service and sends out an email.
> It works in my Linux box, and it works in my Windows 7 box.
> I've also converted it with Py2EXE and it works as an executable in my
> Win-7 box.
> The issue is, I made it for someone else to use in his PC.
> And its not working for him.
Well, what does it do? The most useless problem report is "it isn't
working". That tells us nothing.
Does it raise an exception? Crash? Set the laptop on fire? Something
> His system is Windows 7.
> And I'm wondering if perhaps he has a firewall blocking it?
Quite possibly. Can he send email from his laptop? If so, how? Does he
use Gmail via their website, Outlook, something else?
Does his ISP block outgoing email on port 25? Many ISPs do, to try to
prevent viruses from sending out spam.
Does your friend actually have a mail server running?
I recommend that you run through the example here:
and see what happens.
More information about the Tutor