You could always just set up a gmail account and use that SMTP. Thats
what I do. Then all you have to do is google search for "gmail smtp
python" and get some easy code.
You can even send attatchments really easy.
-Daniel Folkes
brad wrote:
> I'd like to send email directly from within python
Dennis Lee Bieber wrote:
> The first response to the query was to invoke the command line
> "mail" utility of a Unix type OS. THAT program is, what I believe, was
> meant by "mail will invoke a smtp server"... Not "mail" as a general
> concept, but the utility command...
Ah yes I see that n
Guilherme Polo wrote:
> I hope to not disappoint you, but mail will invoke a smtp server to
> send your mail.
>
I disagree. If you really want to, all you need is telnet. You connect
to port 25 of the mail server that handles the mail of the domain for
that mail address and do the helo, mail f
Martin P. Hellwig wrote:
> I already wrote a command line mailer that can do attachments too, no
> need to write it again. If anybody is interested I can open-source it.
>
To reply on my own post ;-)
Even if nobody is interested in case you change your mind it is hosted
at: http://code.google.c
brad wrote:
> Martin P. Hellwig wrote:
>
>> The tricky part is how to resolve the mail server for a mail address.
>> Usually you have to query the mx record of that domain. I solved that
>> by looking if I can find the nslookup binary.
>
> The from and to are static constants... they don't cha
Martin P. Hellwig wrote:
> The tricky part is how to resolve the mail server for a mail address.
> Usually you have to query the mx record of that domain. I solved that by
> looking if I can find the nslookup binary.
The from and to are static constants... they don't change. Mail just
seems s
2008/2/13, brad <[EMAIL PROTECTED]>:
> I'd like to send email directly from within python without having to
> rely on an external smtp server. You know, something like the good, old
> Unix...
>
> echo My_message | mail -s Subject [EMAIL PROTECTED]
I hope to not disappoint you, but mail will inv
Larry Bates wrote:
> brad wrote:
>> I'd like to send email directly from within python without having to
>> rely on an external smtp server. You know, something like the good,
>> old Unix...
>>
>> echo My_message | mail -s Subject [EMAIL PROTECTED]
>>
>> Can Python do something similar in a porta
brad wrote:
> I'd like to send email directly from within python without having to
> rely on an external smtp server. You know, something like the good, old
> Unix...
>
> echo My_message | mail -s Subject [EMAIL PROTECTED]
>
> Can Python do something similar in a portable fashion without a smtp