The content in the form of “RetryError[<Future at Ox1b79e472cc0 state=finished raised RuntimeError>]” cannot be sent normally. After testing, it seems that “<test>” in the form of “[<test>]” will be deleted. Neither using yagmail.raw() nor setting “prettify html=False” works.
May I ask if I made a mistake in any operation:
yag.send(to='xx@xx.com', subject='test', contents=yagmail.raw('[<test>]'))
receive: []