Debut property option for mail out (SMTP)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Debut property option for mail out (SMTP)

Jacques Le Roux
Administrator
Hi all,

I wonder why we don't have a debug property option for org.ofbiz.content.email.EmailServices.sendMail() (ofbiz/applications/content/src/org/ofbiz/content/email/EmailServices.java)

It's easy to set up, just have to add

session.setDebug(mailDebugOn);

after session creation, the following line in General.properties and something to read this parameter in sendMail()

# -- debug mail option enabled (Y|N)
mail.debug.on=N

If it's ok I will set up soon

Jacques