Working with gopkg.in/gomail.v2


(John Denny) #1

Is it possible to pass data from an sql query into the SetBody of gomail ?


(nathankerr) #2

Yes.

Take the data from your sql query and format it as a string. Pass that string to SetBody.