rm debug
parent
24b26a8a87
commit
d12bac15f6
|
@ -134,8 +134,6 @@ func (m *Mail) RenderTemplate() (htmlBody, textBody string, err error) {
|
||||||
htmlBuf := new(bytes.Buffer)
|
htmlBuf := new(bytes.Buffer)
|
||||||
textBuf := new(bytes.Buffer)
|
textBuf := new(bytes.Buffer)
|
||||||
|
|
||||||
fmt.Println("BODY DATA", m.BodyData)
|
|
||||||
|
|
||||||
// parse body data to new map to avoid changing the original map and then replace all \n with <br>
|
// parse body data to new map to avoid changing the original map and then replace all \n with <br>
|
||||||
|
|
||||||
bodyData := make(map[string]interface{})
|
bodyData := make(map[string]interface{})
|
||||||
|
|
Loading…
Reference in New Issue