Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

generate_message is not supported #48

Open
terenced opened this issue Mar 24, 2013 · 4 comments
Open

generate_message is not supported #48

terenced opened this issue Mar 24, 2013 · 4 comments

Comments

@terenced
Copy link

I followed the example found in the wiki 5) Create new emails!

email = gmail.generate_message do
  to "email@example.com"
  subject "Having fun in Puerto Rico!"
  body "Spent the day on the road..."
end

but I get the following error:
undefined method `generate_message' for #Gmail::Client::Plain:0x007f94813a5fa8 (NoMethodError)

Ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]
Mac OS X 10.7.5

@matsubo
Copy link

matsubo commented Dec 31, 2013

+1

@myobie
Copy link
Collaborator

myobie commented Mar 28, 2014

The method does exist. Can you give me a longer code example?

@MaxRumpf
Copy link

I get that error too.

@MaxRumpf
Copy link

Does it have any Dependency else than "gmail" ?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants