So I cant send out password reset emails via SS because the plan text contains [ ] around the url, is there a way for me to modify SS to not include those square brackets?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hey there,
Password reset emails are generated from templates in the /templates/email/ folder. So, if you want your own template for the password reset email, create the file:
/themes/(mytheme)/templates/email/ForgotPasswordEmail.ss
eg:
<p>Hi $FirstName $Surname,</p>
<p>A password reset request has been recieved for your login at {$BaseHref}.</p>
<p>To reset your password, please follow this link: <a href="$PasswordResetLink">reset password</a>.</p>
<p>Thanks!</p>
Thanks, however I'm still having issues.
The Emails are not being sent.
http://silverstripe.org/general-questions/show/261431
And looking at the SMTP logs the error is 554
Any more ideas to get rid of the [ ] that seem to automatically get added in?
------------------------ EMAIL MESSAGE ------------------
Hi Landmine,
A password reset request has been recieved for your login
at http://www.esfiles.com/.
To reset your password, please follow this link: reset
password[http://www.esfiles.com/Security/changepassword?h=5f3wohmk7gw8kcgsggw480k8g].
http://www.webhostingtalk.com/showpost.php?s=12313a6b139652766e1cd7ddbcce3f97&p=5979602&postcount=14
Anyway, strangely enough, any attempt to telnet email through the relay server is refused. Maybe I did something wrong. I've provided the telnet session below. And again, just to be clear, any of my users can send any email except when it contains [] on its own line. And yes, godaddy has acknowledged this.