User Tools

Site Tools


admin:dismemberment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
admin:dismemberment [2023/03/05 15:24] – [Example email] Wouteradmin:dismemberment [2023/03/05 15:25] (current) – [Example email, in Python 3] Wouter
Line 12: Line 12:
 Articles don't specify a timeline for the steps but they do have to happen in that order (and it's good idea to leave a decent interval between reminder and actually dismembering folks so they can respond to the reminder).  Articles don't specify a timeline for the steps but they do have to happen in that order (and it's good idea to leave a decent interval between reminder and actually dismembering folks so they can respond to the reminder). 
  
-==== Example email, in Python 3====+#+BEGIN_SRC python 
 +# -*- coding: utf-8 -*- 
 + 
  
 '''This script sends out dismemberment emails, from a csv file with 4 columns:  '''This script sends out dismemberment emails, from a csv file with 4 columns: 
Line 81: Line 84:
         yag.send(to=address,subject='Hello from 57North Hacklab',bcc='57north-ctte-private@57north.org.uk', contents =contents, headers={"Reply-To":f"{reply_email}"})         yag.send(to=address,subject='Hello from 57North Hacklab',bcc='57north-ctte-private@57north.org.uk', contents =contents, headers={"Reply-To":f"{reply_email}"})
                  
 +#+END_SRC
 ===== Other Reasons ===== ===== Other Reasons =====
  
admin/dismemberment.1678029840.txt.gz · Last modified: 2023/03/05 15:24 by Wouter