Project

General

Profile

Customize sender email address in Auth widget

Added by Simon M over 5 years ago

Hi,

I just customized the registering email for Auth widget, which worked smoothly.

But how do I change the sender email address? Currently all registration emails are sent from "Wt Auth module <noreply-auth@www.webtoolkit.eu>".

Thanks!


Replies (2)

RE: Customize sender email address in Auth widget - Added by lm at over 5 years ago

I searched for the text you gave, "noreply-auth" in the code base and found it at AuthService.h. It's in the documentation here:

https://webtoolkit.eu/wt/doc/reference/html/classWt_1_1Auth_1_1AuthService.html#a12fc4369e2c96dbef7b0cfe82a0a0014

"The default implementation will consult configuration properties to add a sender address..."

RE: Customize sender email address in Auth widget - Added by Simon M over 5 years ago

Thanks,

I found out that you have to add in wt_config.xml under :

<!-- Configure email sender -->
<property name="auth-mail-sender-name">Your name</property>
<property name="auth-mail-sender-address">your.email
address.com@

    (1-2/2)