1#you can start a multiline string with either ''' or """
2'''This is a
3multiline
4string.'''
5
6"""It can be used as a
7multiline comment
8too."""
1toname = "Peter"
2toemail = "p@tr"
3subject = "Hi"
4content = f"""From: Fromname <fromemail>
5 To: {toname} <{toemail}>
6 MIME-Version: 1.0
7 Content-type: text/html
8 Subject: {subject}
9
10 This is an e-mail message to be sent in HTML format
11
12 <b>This is HTML message.</b>
13 <h1>This is headline.</h1>
14"""