On 8/8/20 10:58 AM, sammy.jackson...@gmail.com wrote: > Thank you Richard for your response. > > I have moved all the text i want the user to see into the body of the email. > > I still cannot get my email to display the name. > > Name = "Tim" > > How would i include this variable in my HTML/Python code? > > Any ideas? > > Thank you.
Since you are already using .format to insert the message body, you might as well do something similar to insert the name, adding more placeholders for the format to insert into. -- Richard Damon -- https://mail.python.org/mailman/listinfo/python-list