This is a sample custom plugin written in python which compute number of email recipient. You could use it as a skeleton for your own needs.
In this zip file, you will find: - Sample.py : main script - test_script.bat : a windows script to easily test your script as if it was called by DLP - Etc directory contains configuration file - Lib directory contain a DLP library which could be reused for all your DLP plugins as it contgains all common functions. - Log directory will contain log file when you will activate this functionality
PS : Archive is now updated to correct password issue.
on linux env :
test_script.sh
#!/bin/bash export CURRENTDIR=`pwd` export PYTHONPATH=/usr/lib/python2.7/site-packages:$CURRENTDIR/lib:$CURRENTDIR/:$CURRENTDIR/etc
python sample.py sender="toto@yahoo.com" protocol="SMTP" attachment="yes" subject="test" attachment-name1="lolo.cfg" recipient-email1="ioio3@foo.com" recipient-email12="stephane.fichet-prestataire@ca-cib.com" recipient-email3="ioio3@ca-cib.com"
making a website different lot of url create generate my past experience is not good about php website develop now a day word press making better and easy understandable as compare Python
Hi Stephane,
Sorry to bother you, but it seems that the new zip also have a password :(
waouh, sorry for this i have posted wrong archive :(
I will update this asap.
Hello, Can you please provide the password for the zip file?
Thanks.
Hi,
Password for zip, pls ...