dcparker / ruby-gmail

A Rubyesque interface to Gmail. Connect to Gmail via IMAP and manipulate emails and labels. Send email with your Gmail account via SMTP. Includes full support for parsing and generating MIME messages.
http://dcparker.github.com/ruby-gmail
790 stars 123 forks source link

Can't send, then receive on the same session. #72

Open kitplummer opened 10 years ago

kitplummer commented 10 years ago

I'm trying to send a simple message, then loop for a return message that I know the Subject header for.

The send works, but the gmail.inbox.emails fetch never gets the message. If I run the fetch as a separate Ruby process it works no problem. I've tried to do this with both a block, and just grabbing the Gmail object.

Any ideas?