Configuring sending of invitations via SMTP server
Creating user results in sending invitation message via email.
By default InvitationLink module will try to send email using standard mail()
function of PHP. But if you run into a problem with this method on your enviroment you can configure email sender to use some SMTP server for email sending. Currently you have to edit configuration file of InvitationLink module for that.
Open YOUR_INSTALLATION_ROOT/data/settings/modules/InvitationLinkWebclient.config.json
in your favorite text editor.
Fill in the fields according to the following example:
"NotificationType": [
"smtp",
"string"
],
"NotificationEmail": [
"mail@localhost",
"string"
],
"NotificationHost": [
"localhost",
"string"
],
"NotificationPort": [
"25",
"string"
],
"NotificationUseAuth": [
true,
"bool"
],
"NotificationLogin": [
"mail@localhost",
"string"
],
"NotificationPassword": [
"myPassWord",
"string"
]
Now you are ready to switch InvitationLink module to use SMTP mail sender.
To make sure that everything works as expected try to re-send invitation link. Go to Adminpanel > Users, select user and press "Re-send" button under the Invitation Link field.