Hi Everyone,
I am taking an instance of Orthanc into production and as such need some sort of notification service to report images being received and passed through. I am attempting to use the following Lua script lifted from Iguana and modified for my own settings but I don’t think Orthanc understands the net.smtp.send function because whenever it receives a series, it fails to send the e-mail saying the variable ‘net’ is a null value.
– Set up the parameters to be used with sending an email
- local smtpparams={
- header = {To = ‘sales@interfaceware.com’;
- From = ‘’;
- Date = ‘Thu, 23 Aug 2001 21:27:04 -0400’;
- Subject = ‘Test Subject’;},
- username = ‘’,
- password = ‘’,
- server = ‘’,
- – note that the “to” param is actually what is used to send the email,
- – the entries in header are only used for display.
- – For instance, to do Bcc, add the address in the ‘to’ parameter but
- – omit it from the header.
- to = {‘sales@interfaceware.com’,‘admin@interfaceware.com’},
- from = 'Test User ',
- body = ‘This is the test body of the email’,
- use_ssl = ‘try’,
- –live = true – uncomment to run in the editor
- }
- net.smtp.send(smtpparams)
Is it because Orthanc doesn’t have access to the function and do I have to include something to make it recognise it?
Best Regards,
Dave the 2nd