Send email by Python?

how to send email via Python.

error in loading smtplib

You can use this to import smtplib:

import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
import sys
pyt_path = r'C:\Program Files (x86)\IronPython 2.7\Lib'
sys.path.append(pyt_path)
import System

import smtplib
#The inputs to this node will be stored as a list in the IN variables.
dataEnteringNode = IN

#Assign your output to the OUT variable.
OUT = dir(smtplib)
2 Likes

@T_Pover thanx mate :wink:

1 Like

@Fathygad, once upon a time I had this working in Rhythm. Google changed some security restrictions and made the nodes not work anymore. It was too much work to fix so I just abandoned the effort.

I would be curious to see where you get with this for sure!

-John

3 Likes

@john_pierson i will let you know :ok_hand:

I’ve been looking for a way to send an standardized email using Dynamo and Data Shapes - has there been any progress made on getting this function to work?

-Adam

@adam.ortwein not yet.