give HTML to smtp body
# support-questions
y
While changing content of email in smtp method. I would like to give html file as value for body property. What will be the syntax to insert file there?
r
hey @yvstrishul i think you can just give the html string as the body
y
My html is a bit lengthy, so I would like to insert file if possible
r
that won't be possible. You could always just read from the file in that function.
p
+1 this is what i did, read html file and insert into body. afaik this is standard as attaching a html file won't dispaly properly in email readers
2 Views