SMTP

S

Sarmad George

Good day all
I am new to the Python list
My question is here not Python as much as it is in servers

I have a code to send an email through my SMTP server - comcast Boston
fromaddrs = "******"
toaddrs = "(e-mail address removed)"
msg = "Hello World"

server = smtplib.SMTP ('76.96.30.117', '25') #COMCAST BOSTON
server.set_debuglevel(1)
try:
server.sendmail(fromaddrs, toaddrs, msg)
finally:
server.quit()

Which basically sends a hello world message
Debugging gives me an indication of acceptance as seen below (and I as googled
it)
I tried the same from the University server, and I got the same results almost!
However, no emails in my Inbox when I log in - PLS can you explain the trouble?
Is it a firewall blocker?
Thanks alot


send: 'ehlo [127.0.1.1]\r\n'
reply: '250-OMTA03.emeryville.ca.mail.comcast.net hello [98.216.11.39], pleased
to meet you\r\n'
reply: '250-HELP\r\n'
reply: '250-AUTH LOGIN PLAIN CRAM-MD5\r\n'
reply: '250-SIZE 15728640\r\n'
reply: '250-ENHANCEDSTATUSCODES\r\n'
reply: '250-8BITMIME\r\n'
reply: '250-STARTTLS\r\n'
reply: '250 OK\r\n'
reply: retcode (250); Msg: OMTA03.emeryville.ca.mail.comcast.net hello
[98.216.11.39], pleased to meet you
HELP
AUTH LOGIN PLAIN CRAM-MD5
SIZE 15728640
ENHANCEDSTATUSCODES
8BITMIME
STARTTLS
OK
send: 'mail FROM:<[email protected]> size=11\r\n'
reply: '250 2.1.0 <[email protected]> sender ok\r\n'
reply: retcode (250); Msg: 2.1.0 <[email protected]> sender ok
send: 'rcpt TO:<[email protected]>\r\n'
reply: '250 2.1.5 <[email protected]> recipient ok\r\n'
reply: retcode (250); Msg: 2.1.5 <[email protected]> recipient ok
send: 'data\r\n'
reply: '354 enter mail, end with "." on a line by itself\r\n'
reply: retcode (354); Msg: enter mail, end with "." on a line by itself
data: (354, 'enter mail, end with "." on a line by itself')
send: 'Hello World\r\n.\r\n'
reply: '250 2.0.0 REQK1c0070qYooa8PEQKQA mail accepted for delivery\r\n'
reply: retcode (250); Msg: 2.0.0 REQK1c0070qYooa8PEQKQA mail accepted for
delivery
data: (250, '2.0.0 REQK1c0070qYooa8PEQKQA mail accepted for delivery')
send: 'quit\r\n'
reply: '221 2.0.0 OMTA03.emeryville.ca.mail.comcast.net comcast closing
connection\r\n'
reply: retcode (221); Msg: 2.0.0 OMTA03.emeryville.ca.mail.comcast.net comcast
closing connection

Sarmad Edward George
Electrical Computer Eng
Northeastern Uni
Boston MA - USA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top