Displaying 1 result from an estimated 1 matches for "raw_attach".
Did you mean:
can_attach
2009 Apr 09
1
Mailing error in Rails 2.3.2
...ler''
require ''openssl''
require ''net/smtp''
module SendEMail
@user_name= ''login-omLZJFyqO6s4Q++5jOxPmw@public.gmane.org''
@domain=''@somedomain.com''
@password=''password''
def SendEMail.send_email(hsh)
raw_attachments = []
if hsh.has_key?(:raw_attachment)
raw_attachments.push(hsh[:raw_attachment])
end
mail=TMail::Mail.new
mail.to=hsh[:to]
mail.date=Time.now
mail.from=@user_name
mail.subject=hsh[:subject]
main=mail
main=TMail::Mail.new
main.body = hsh[:body]
puts main.body
main.set_content_type(''...