Re: sending emails using python

2006-09-14 Thread Tim Williams
On 14 Sep 2006 00:11:05 -0700, sridhar <[EMAIL PROTECTED]> wrote: > > Tim Williams wrote: > > Have you verified that you are allowed to use SMTP on this server ? > > Can you send email via it using outlook express or a similar POP3/IMAP > > mail client? > > > > :) > > > yes , because iam having acc

Re: sending emails using python

2006-09-14 Thread sridhar
Brendon Towle wrote: > On Sep 7, 2006, at 3:50 AM, "sridhar" > <[EMAIL PROTECTED]>wrote: > > > > iam having user account on an exchangeserver. > > with that can i send an email using python? > > > > if iam using the following code iam getting error > > > > > > fromAddress = '[EMAIL PROTECTED]' > >

Re: sending emails using python

2006-09-14 Thread sridhar
Tim Williams wrote: > On 07/09/06, Sybren Stuvel <[EMAIL PROTECTED]> wrote: > > sridhar enlightened us with: > > > iam having user account on an exchangeserver. > > > with that can i send an email using python? > > > > > > if iam using the following code iam getting error > > > > > > Traceback (mo

Re: sending emails using python

2006-09-07 Thread Steve Holden
Hari Sekhon wrote: [...] > > BOFH? > Bas**rd Operator From Hell > lol > Indeed. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://holdenweb.blogspot.com Recent Ramblings http://del.icio

Re: sending emails using python

2006-09-07 Thread Hari Sekhon
Grant Edwards wrote: On 2006-09-07, Tim Williams <[EMAIL PROTECTED]> wrote: Wouldn't you use a SMTP client to send email? I would, but I don't use exchange server. :) The one exchange server I used in the past didn't accept SMTP mail. errr, I used to admin Exchange, if

Re: sending emails using python

2006-09-07 Thread Grant Edwards
On 2006-09-07, Tim Williams <[EMAIL PROTECTED]> wrote: >> Wouldn't you use a SMTP client to send email? >> >> I would, but I don't use exchange server. :) >> >> The one exchange server I used in the past didn't accept SMTP >> mail. >> >> errr, I used to admin Exchange, if it does accept SMTP the

Re: sending emails using python

2006-09-07 Thread Tim Williams
On 07/09/06, Hari Sekhon <[EMAIL PROTECTED]> wrote: > > Grant Edwards wrote: > On 2006-09-07, Sybren Stuvel > <[EMAIL PROTECTED]> wrote: > > > Tim Williams enlightened us with: > > > Can you send email via it using outlook express or a similar > POP3/IMAP mail client? > > Wouldn't you use a SM

Re: sending emails using python

2006-09-07 Thread Hari Sekhon
Grant Edwards wrote: On 2006-09-07, Sybren Stuvel <[EMAIL PROTECTED]> wrote: Tim Williams enlightened us with: Can you send email via it using outlook express or a similar POP3/IMAP mail client? Wouldn't you use a SMTP client to send email?

Re: sending emails using python

2006-09-07 Thread Grant Edwards
On 2006-09-07, Sybren Stuvel <[EMAIL PROTECTED]> wrote: > Tim Williams enlightened us with: >> Can you send email via it using outlook express or a similar >> POP3/IMAP mail client? > > Wouldn't you use a SMTP client to send email? I would, but I don't use exchange server. :) The one exchange ser

Re: sending emails using python

2006-09-07 Thread Tim Williams
On 07/09/06, Sybren Stuvel <[EMAIL PROTECTED]> wrote: > Tim Williams enlightened us with: > > Can you send email via it using outlook express or a similar > > POP3/IMAP mail client? > > Wouldn't you use a SMTP client to send email? Outlook Express *is* a mail client that uses SMTP as the outbound

Re: sending emails using python

2006-09-07 Thread Brendon Towle
On Sep 7, 2006, at 3:50 AM, "sridhar" <[EMAIL PROTECTED]>wrote: > iam having user account on an exchangeserver. > with that can i send an email using python? > > if iam using the following code iam getting error > > > fromAddress = '[EMAIL PROTECTED]' > toAddress = '[EMAIL PROTECTED]' > msg =

Re: sending emails using python

2006-09-07 Thread Sybren Stuvel
Tim Williams enlightened us with: > Can you send email via it using outlook express or a similar > POP3/IMAP mail client? Wouldn't you use a SMTP client to send email? Sybren -- Sybren Stüvel Stüvel IT - http://www.stuvel.eu/ -- http://mail.python.org/mailman/listinfo/python-list

Re: sending emails using python

2006-09-07 Thread Sybren Stuvel
Steve Holden enlightened us with: > This is untrue for the Python smtplib, though correct according to > the RFCs. The SMTP.data() method uses a locally-declared function > called quotedata() to ensure the correct line endings, so using "\n" > will result in the same message as using "\r\n". Ah, w

Re: sending emails using python

2006-09-07 Thread Steve Holden
Max M wrote: > sridhar wrote: > >>iam having user account on an exchangeserver. >>with that can i send an email using python? >> >>if iam using the following code iam getting error >> >> >>fromAddress = '[EMAIL PROTECTED]' >>toAddress = '[EMAIL PROTECTED]' >>msg = "Subject: Hello\n\nThis is the bo

Re: sending emails using python

2006-09-07 Thread Max M
sridhar wrote: > iam having user account on an exchangeserver. > with that can i send an email using python? > > if iam using the following code iam getting error > > > fromAddress = '[EMAIL PROTECTED]' > toAddress = '[EMAIL PROTECTED]' > msg = "Subject: Hello\n\nThis is the body of the message.

Re: sending emails using python

2006-09-07 Thread Steve Holden
Sybren Stuvel wrote: > sridhar enlightened us with: > >>iam having user account on an exchangeserver. >>with that can i send an email using python? >> >>if iam using the following code iam getting error >> >> >>fromAddress = '[EMAIL PROTECTED]' >>toAddress = '[EMAIL PROTECTED]' >>msg = "Subject: H

Re: sending emails using python

2006-09-07 Thread Tim Williams
On 07/09/06, Sybren Stuvel <[EMAIL PROTECTED]> wrote: > sridhar enlightened us with: > > iam having user account on an exchangeserver. > > with that can i send an email using python? > > > > if iam using the following code iam getting error > > > > Traceback (most recent call last): > > File > >

Re: sending emails using python

2006-09-07 Thread Sybren Stuvel
sridhar enlightened us with: > iam having user account on an exchangeserver. > with that can i send an email using python? > > if iam using the following code iam getting error > > > fromAddress = '[EMAIL PROTECTED]' > toAddress = '[EMAIL PROTECTED]' > msg = "Subject: Hello\n\nThis is the body of t

sending emails using python

2006-09-06 Thread sridhar
iam having user account on an exchangeserver. with that can i send an email using python? if iam using the following code iam getting error fromAddress = '[EMAIL PROTECTED]' toAddress = '[EMAIL PROTECTED]' msg = "Subject: Hello\n\nThis is the body of the message." import smtplib server = smtplib