Remove newline characters from message content in example scripts
This commit is contained in:
parent
50af1527fb
commit
86d95ff610
2 changed files with 4 additions and 4 deletions
|
@ -29,9 +29,9 @@ client.headers(
|
|||
}
|
||||
)
|
||||
# Write message content
|
||||
client.write_line("Hello world!\n")
|
||||
client.write_line("Ceci est un message très intéressant.\n")
|
||||
client.write_line("...\n")
|
||||
client.write_line("Hello world!")
|
||||
client.write_line("Ceci est un message très intéressant.")
|
||||
client.write_line("...")
|
||||
# Send message
|
||||
client.send()
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ client.new_message("example@example.org")
|
|||
# --- It might be rejected by the mail server
|
||||
client.headers()
|
||||
# Write message content
|
||||
client.write_line("Hello world!\n")
|
||||
client.write_line("Hello world!")
|
||||
# Send message
|
||||
client.send()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue