Hi All,

I need to use mail module to send mail whenever an action is perform by user. 
Now for testing purpose i have enabled the sendMailOnPageChanges listener with 
all proper data. So it should trigger mail whenever i will create a new page.
But i am getting an exception. Below is the log error i am getting.
2014-09-25 14:25:40,374 WARN  info.magnolia.module.mail.commands.MailCommand    
: A deprecated class or method was used: Use IoC!. Check the following trace: 
info.magnolia.module.mail.MailModule.getInstance(MailModule.java:80), 
info.magnolia.module.mail.commands.MailCommand.execute(MailCommand.java:72), 
the full stracktrace will be logged in debug mode in the 
info.magnolia.cms.util.DeprecationUtil category.
2014-09-25 14:25:40,374 WARN  info.magnolia.cms.util.DeprecationUtil            
: A deprecated class or method was used: Use IoC!. Check the following trace: 
info.magnolia.module.mail.MailModule.getInstance(MailModule.java:80), 
info.magnolia.module.mail.commands.MailCommand.execute(MailCommand.java:72), 
the full stracktrace will be logged in debug mode in the 
info.magnolia.cms.util.DeprecationUtil category.
A deprecated class or method was used: Use IoC!. Check the following trace: 
info.magnolia.module.mail.MailModule.getInstance(MailModule.java:80), 
info.magnolia.module.mail.commands.MailCommand.execute(MailCommand.java:72), 
the full stracktrace will be logged in debug mode in the 
info.magnolia.cms.util.DeprecationUtil category.
A deprecated class or method was used: Use IoC!. Check the following trace: 
info.magnolia.module.mail.MailModule.getInstance(MailModule.java:80), 
info.magnolia.module.mail.commands.MailCommand.execute(MailCommand.java:72), 
the full stracktrace will be logged in debug mode in the 
info.magnolia.cms.util.DeprecationUtil category.
2014-09-25 14:25:40,375 WARN  info.magnolia.module.mail.MgnlMailFactory         
: A deprecated class or method was used: Use IoC!. Check the following trace: 
info.magnolia.module.mail.MailModule.getInstance(MailModule.java:80), 
info.magnolia.module.mail.MgnlMailFactory.getTemplate(MgnlMailFactory.java:186),
 the full stracktrace will be logged in debug mode in the 
info.magnolia.cms.util.DeprecationUtil category.

Please anyone can help me on this.

Sambit Pani

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=75a4d301-ec79-42a9-a034-75ee320435e7


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to