Changeset 7023


Ignore:
Timestamp:
15/06/10 10:28:02 (9 years ago)
Author:
sdonegan
Message:

added ability to email to multiple addresses using semi-colon delimiter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery-OaiInfoEditor/trunk/v3n_NDG3/OAIInfoEditor/oai_info_editor/lib/harvester.py

    r6942 r7023  
    4646        logging.info("- finished ingesting data") 
    4747        if self.harvester.userEmail: 
     48                 
     49                #use semi-colon as delimiter for multiple email addresses in reciepients 
    4850            logging.info("Sending notification mail to '%s'" %self.harvester.userEmail) 
    49             status, message = mailHandler([self.harvester.userEmail],  
     51            status, message = mailHandler(self.harvester.userEmail.split(';'),  
    5052                                          constants.INGEST_RESULTS_TITLE %self.providerName,  
    5153                                          ingestMessage, 
Note: See TracChangeset for help on using the changeset viewer.