Gmailer reply


#1

Is there a way to reply to a message with the ruby gmailer library? I
see that there are “message_replying” and “thread_replying” arguments in
the “send” function, but I don’t see how to use them to reply to a
message. Thanks.


#2

Hi,

First you need a msg_id value of the original message.
Then you can send replay like this:

GMailer.connect(name, pwd) do |g|
g.send(
:to => from_email,
:subject => "Re: " + subject
:body => “Hi…\n\nBlah blah blah~…”,
:msg_id=>msg_id
)
end

Regards,

Park H.