grails / grails-mail

The Grails Mail Plugin
https://grails.github.io/grails-mail/
Apache License 2.0
14 stars 25 forks source link

No signature of method: myController.mutipart() is applicable for argument types: (java.lang.Boolean) values: [true] #29

Closed rodrigosalinas closed 6 years ago

rodrigosalinas commented 6 years ago

Hi, I'm trying version 2.0.0 and Grails 3.3.1.

Using this code in myController I get the error in the subject:

mailService.sendMail {
   mutipart true
   to 'address'
   cc 'anotherAddress'
   subject 'Subject'
   html 'content'
   attach pdf.name, "application/pdf", pdf
}

Please help. Thank you very much in advance.

rodrigosalinas commented 6 years ago

Sorry. Was a mispell of multipart.

hunterino commented 5 years ago

This was actually a bug in the documentation. In the examples it uses mutipart, instead of multipart. I'm looking for the documentation now, to fix it.