Skip to content

generate_message is not supported #48

Open

Description

@terenced

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

Activity

  1. matsubo commented on Dec 31, 2013

    @matsubo

    +1

  2. myobie commented on Mar 28, 2014

    @myobie
    Collaborator

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

  3. MaxRumpf commented on May 15, 2015

    @MaxRumpf

    I get that error too.

  4. MaxRumpf commented on May 15, 2015

    @MaxRumpf

    Does it have any Dependency else than "gmail" ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions