Skip to content

Instantly share code, notes, and snippets.

@dreamspy
dreamspy / sendemail.py
Created May 21, 2020
Test SMPT python script
View sendemail.py
import smtplib
import sys
gmail_user = 'emailaddress@pan.is'
gmail_password = 'password'
sent_from = gmail_user
to = [gmail_user, gmail_user]
subject = 'OMG Super Important Message'
body = 'the body'
View gist:9dbe53178b35205357d92dfc8d62bdf8
{% if displaycomments %}
<!-- Plugin: OpenDoors V1.1
Author: Michael Brüning <M.Bruening@compunics.com.ni>
Tested with: PTP V2.5.3, V2.5.7
-->
{% endif %}
<events name="OpenDoorsEvents" keep="true"
onTourStart="if(debug, showlog(); );"
onxmlcomplete="preload{{p.id}}();"
View OpenDoors.tmpl
{% if displaycomments %}
<!-- Plugin: OpenDoors V1.1
Author: Michael Brüning <M.Bruening@compunics.com.ni>
Tested with: PTP V2.5.3, V2.5.7
-->
{% endif %}
<events name="OpenDoorsEvents" keep="true"
onTourStart="if(debug, showlog(); );"
onxmlcomplete="preload{{p.id}}();"
You can’t perform that action at this time.