email in ruby

T

Tom Cloyd

Vetrivel said:
Example program to send email with text file attachment in ruby
Is there a verb somewhere...anywhere?

No verb == nominal phrase...naming...??? what?

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< (e-mail address removed) >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
R

Rick DeNatale

[Note: parts of this message were removed to make it a legal post.]

Is there a verb somewhere...anywhere?

No verb == nominal phrase...naming...??? what?
I took it that he hit the send key before typing in HIS example program to
send email with a text attachment in ruby. <G>
 
D

Damjan Rems

I did it with Ruport:

r = Ruport::Report.new
r.add_mailer :default,
:host => "mymail.server.com",
:address => "(e-mail address removed)"

r.send_to('(e-mail address removed)') do |mail|
mail.subject = "Some subject"
mail.attach('myfile.name')
mail.text = "Some text"
end

by
TheR
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top