Send email by Python?

how to send email via Python.

error in loading smtplib

You can use this to import smtplib:

import clr
from Autodesk.DesignScript.Geometry import *
import sys
pyt_path = r'C:\Program Files (x86)\IronPython 2.7\Lib'
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)

@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_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.ortwein not yet.