figure - the html output contains header and paragraph as expected the point of creating your own application to send and receive -mail isn' convenience -using an off-the-shelf application serves that purpose much better the point is flexibility as you can see from this short on the subjectyou control every aspect of the message when you create your own application python hides much of the detail from viewso what you really need to worry about are the essentials of creating and transmitting the message using the correct arguments