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

Forum statistics

Threads
473,962
Messages
2,570,134
Members
46,690
Latest member
MacGyver

Latest Threads

Top