I use a new webhosting provider and I can not send an email from my
script.
This is the script that I use to test the connection

#######################
import smtplib,poplib,

#I first login to my POP3 account
M=poplib.POP3('www.mywebh.com')
M.user('MYWeb)
M.pass_('12345')
print M.pass_ #check if you login successfully

#next send a message
fromaddr = "[EMAIL PROTECTED]"
toaddrs  = "[EMAIL PROTECTED]"
msg="This is a test"
server = smtplib.SMTP('www.ebayworldstuff.com:25')

server.set_debuglevel(1)
server.sendmail(fromaddr, toaddrs, msg)
server.quit()
#########################

It ends with SMTP error 550: Administrative prohibition

Where can be a problem?
Lad.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to