I guess you can use smtplib.
On Fri, Mar 26, 2010 at 7:07 PM, Timo wrote:
>
>
> 2010/3/25 Timo
>
> Hello,
>>
>> I was wondering what the best way is to send an email through my program?
>> I want the user to send an email with an attachment.
>>
>> I do have a webspace, should I use the smtplib
2010/3/25 Timo
> Hello,
>
> I was wondering what the best way is to send an email through my program? I
> want the user to send an email with an attachment.
>
> I do have a webspace, should I use the smtplib module if my webhost
> supports it (I have to ask though), or should I put a script on my
Hello,
I was wondering what the best way is to send an email through my program? I
want the user to send an email with an attachment.
I do have a webspace, should I use the smtplib module if my webhost supports
it (I have to ask though), or should I put a script on my space and
communicate with t
On Tue, Apr 22, 2008 at 6:06 AM, Stephen Nelson-Smith <[EMAIL PROTECTED]>
wrote:
> smtpserver = 'relay.clara.net'
>
> RECIPIENTS = ['[EMAIL PROTECTED]']
> SENDER = '[EMAIL PROTECTED]'
> message = """Subject: HTTPD ALERT: %s requests %s connections
> Please investigate ASAP.""" % (rps, connections)
i can send email w/ no problem using this :
import smtplib
smtp = smtplib.SMTP()
smtp.connect('smtp_server_here')
smtp.login('user_name', 'password')
smtp.sendmail(strFrom, strTo, msgRoot.as_string())
smtp.quit()
___
Tutor maillist - Tutor@python.org
h
smtpserver = 'relay.clara.net'
RECIPIENTS = ['[EMAIL PROTECTED]']
SENDER = '[EMAIL PROTECTED]'
message = """Subject: HTTPD ALERT: %s requests %s connections
Please investigate ASAP.""" % (rps, connections)
session = smtplib.SMTP(smtpserver)
smtpresult = session.sendmail(SENDER, RECIPIENTS, messag