Can someone please point me to a simple mail utility for RUBY? I see
that I have both RUBYmail and Tmail in my ruby folder on my hard drive,
but, I can’t find any decent documentation on either. I’m on Windows,
not UNIX. Do I just do a "require" for either to use them? RI yields
nothing about either.
Can someone please point me to a simple mail utility for RUBY? I see that I have both RUBYmail and Tmail in my ruby folder on my hard drive, but, I can’t find any decent documentation on either. I’m on Windows, not UNIX. Do I just do a "require" for either to use them? RI yields nothing about either.
I found the gem 'mailfactory' to be a simple and terse message generator that outputs MIME, handles attachments and supports text/plain and text/html.
To install it just, assuming you have rubygems installed just do:
gem install mailfactory
The rdoc that comes with it has an example on the first page which shows you how to use it. Open the rdoc file by looking in wherever rubygems lives on windows.
···
On 14 Jun 2006, at 14:38, Peter Bailey wrote:
Can someone please point me to a simple mail utility for RUBY? I see
that I have both RUBYmail and Tmail in my ruby folder on my hard drive,
but, I can’t find any decent documentation on either. I’m on Windows,
not UNIX. Do I just do a "require" for either to use them? RI yields
nothing about either.
Can someone please point me to a simple mail utility for RUBY? I see
that I have both RUBYmail and Tmail in my ruby folder on my hard drive,
but, I can’t find any decent documentation on either. I’m on Windows,
not UNIX. Do I just do a "require" for either to use them? RI yields
nothing about either.
Thanks, Justin. Yes, that helps. I'd seen those web sites before, but,
for whatever reason, the links weren't working. Now I see them, and, I
can read them. . . .
Can someone please point me to a simple mail utility for RUBY? I see that I have both RUBYmail and Tmail in my ruby folder on my hard drive, but, I can’t find any decent documentation on either. I’m on Windows, not UNIX. Do I just do a "require" for either to use them? RI yields nothing about either.
Thanks, Justin. Yes, that helps. I'd seen those web sites before, but, for whatever reason, the links weren't working. Now I see them, and, I can read them. . . .
Just be aware that those will only format/parse messages and mailboxes. If you want to actually send email you will have to use Net::SMTP or Net::IMAP.
···
--
Daniel Shackelford
Systems Administrator
Technology Services
Spring Arbor University
517 750-6648
Thanks, Justin. Yes, that helps. I'd seen those web sites before, but,
for whatever reason, the links weren't working. Now I see them, and, I
can read them. . . .
Just be aware that those will only format/parse messages and mailboxes.
If you want to actually send email you will have to use Net::SMTP or
Net::IMAP.
Yes, thanks. I’ve seen that. But, I’ve tried tmail and when I run the
script, it complains about 'require tmail." So, even though I see it in
my RUBY subdirectories, I don't know if it’s actually installed or not.
With rubymail, I’ve tried running the 3 install instructions that are on
the doc. page, but, nothing happens. It doesn’t know what I’m talking
about. I'll look into SMTP and IMAP. Thanks again.
On Jun 14, 2006, at 10:40 AM, Daniel Shackelford wrote:
Just be aware that those will only format/parse messages and mailboxes. If you want to actually send email you will have to use Net::SMTP or Net::IMAP.
--
Eric Hodel - drbrain@segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant