Working with gopkg.in/gomail.v2

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

Yes.

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

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.