CMDBuild Forum

Re: Send e-mails when a license had expired

Hi,

 

I have two problems. The first one is i'm not able to send e-mails. I have tried to send an e-mail each minute just to test it. The log is:

 

INFO  2016-10-20 11:35:00 [cmdbuild] reading template 'Template1'

WARN  2016-10-20 11:35:00 [sql     ] class not found for IdClass '0', skipping creation

WARN  2016-10-20 11:35:00 [sql     ] class not found for IdClass '0', skipping creation

INFO  2016-10-20 11:35:00 [cmdbuild] stopping job '3118'

 

¿Have you ever seen this? (Maybe I misconfigured mail account).

 

The second problem: I have the class Licenses with an attribute called EndLicense (type DATE). I want to send an e-mail when a license is going to expire (for example, send an e-mail one month before the expiration date). I have discovered Asynchronous events. But there I don't know how to put "one month before" and make CMDBuild compare all EndLicense attributes. I think that CMDBuild allows you to put a specific date and i want a relative date ("one month before").

 

Thanks in advance and so sorry for my horrible english,

Marcos