@@ -270,20 +270,70 @@ dev.port=8080
270270#Default value is obp (very highly recomended)
271271apiPathZero=obp
272272
273- ## Sending mail out
274- ## Not need in dev mode, but important for production
275- mail.api.consumer.registered.sender.address=no-reply@example.com
276- mail.api.consumer.registered.notification.addresses=you@example.com
277- ## Not need in dev mode, but important for production
278- ## We send an email after any exception
279- # mail.exception.sender.address=no-reply@example.com
280- # mail.exception.registered.notification.addresses=notify@example.com,notify2@example.com,notify3@example.com
281- # This property allows sending API registration data to developer's email.
282- #mail.api.consumer.registered.notification.send=false
283- We only send consumer keys and secret if this is true
284- #mail.api.consumer.registered.notification.send.sensistive=false
273+ ## Email Configuration (CommonsEmailWrapper)
274+ ## ===========================================
275+ ##
276+ ## This section configures email sending using CommonsEmailWrapper instead of Lift Mailer.
277+ ## All email functionality (password reset, validation, notifications) now uses these settings.
278+ ##
279+ ## SMTP Server Configuration
280+ ## -------------------------
281+ ## Basic SMTP settings
285282mail.smtp.host=127.0.0.1
286283mail.smtp.port=25
284+ mail.smtp.auth=false
285+ mail.smtp.user=
286+ mail.smtp.password=
287+
288+ ## TLS/SSL Configuration
289+ ## ---------------------
290+ ## Enable STARTTLS (recommended for most SMTP servers)
291+ mail.smtp.starttls.enable=false
292+ ## Enable SSL (use with port 465)
293+ mail.smtp.ssl.enable=false
294+ ## TLS protocols to use (recommended: TLSv1.2)
295+ mail.smtp.ssl.protocols=TLSv1.2
296+ ## Trust all certificates (for development only)
297+ #mail.smtp.ssl.trust=*
298+
299+ ## Debug Configuration
300+ ## ------------------
301+ ## Enable email debugging (shows SMTP communication)
302+ mail.debug=false
303+
304+ ## Email Sender Configuration
305+ ## -------------------------
306+ ## Default sender address for all emails
307+ mail.users.userinfo.sender.address=no-reply@example.com
308+
309+ ## Consumer Registration Email
310+ ## --------------------------
311+ ## Enable/disable consumer registration notifications
312+ mail.api.consumer.registered.notification.send=false
313+ ## Sender address for consumer registration emails
314+ mail.api.consumer.registered.sender.address=no-reply@example.com
315+ ## Recipient addresses for consumer registration notifications (comma-separated)
316+ mail.api.consumer.registered.notification.addresses=you@example.com
317+ ## Send sensitive information (consumer keys/secrets) via email
318+ mail.api.consumer.registered.notification.send.sensistive=false
319+
320+ ## Exception Notification Email
321+ ## ---------------------------
322+ ## Sender address for exception notifications
323+ mail.exception.sender.address=no-reply@example.com
324+ ## Recipient addresses for exception notifications (comma-separated)
325+ mail.exception.registered.notification.addresses=notify@example.com,notify2@example.com,notify3@example.com
326+
327+ ## Tesobe Mail Server:
328+ ## mail.smtp.host=mail.tesobe.com
329+ ## mail.smtp.port=25
330+ ## mail.smtp.auth=true
331+ ## mail.smtp.user=your-email@tesobe.com
332+ ## mail.smtp.password=your-password
333+ ## mail.smtp.starttls.enable=true
334+ ## mail.smtp.ssl.enable=false
335+ ## mail.smtp.ssl.protocols=TLSv1.2
336+
287337
288338## Oauth token timeout
289339token_expiration_weeks=4
0 commit comments