From: Alex Date: 2009-05-27T04:54:56+09:00 Subject: Re: download a comic strip and email to myself with Ruby? --001485f270e84107b3046ad6106f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit You can use any SMTP server to email the images. I would just use Net::SMTP with whatever SMTP server you happen to be using. It's true that some ISPs offer SMTP servers, but smtp..com may not be the naming convention that your ISP uses. Remember, you're going to need to attach the image to the email as well, so you'll need to create a multipart message, with the image data encoded in base64. I'm sure there's a library that can handle that for you, although I'm not very familiar with using ruby to manipulate email messages. Alex On Tue, May 26, 2009 at 3:15 PM, Jian Lin wrote: > Alex wrote: > > I would use Hpricot to parse the HTML and get the image, then any of the > > Ruby email libraries to send it to yourself. It's really a trivial > > problem, > > but if you're having specific issues, I'm sure many of the people on > > this > > list would be willing to help. > > is it true that we just use the smtp.my-isp.com to send it? is there > any other way? > > -- > Posted via http://www.ruby-forum.com/. > > --001485f270e84107b3046ad6106f--