getPasswordChangedEmailInfo Application Delegate Class Method

Return to Application Delegate Class

Synopsis

Optional method to define the settings for the email that is sent to the user upon successful resetting of their password using the password reset function.

Introduced in Xataface 1.3. Exists in 1.3 or higher.

Signature

function getPasswordChangedEmailInfo(Dataface_Record $user, string $password){}

Parameters

  • $user - The Dataface_Record of the user whose password has been changed.
  • $password - The new temporary password that has been assigned to the user.

Returns

This method should return an associative array with 0 or more of the following keys:

  • subject - The subject line of the email.
  • message - The message content of the email.
  • headers - The Email headers (as a string).
  • parameters - Extra parameters for the mail function.

See Also

  • getResetPasswordEmailInfo - A delegate class method to define the email that is sent to the user when they request a password reset. This is the step that immediately precedes the Password Changed email step.

var disqus_identifier = ‘xataface.com/wiki/getPasswordChangedEmailInfo’; (function() { var dsq = document.createElement(‘script’); dsq.type = ‘text/javascript’; dsq.async = true; dsq.src = ‘http://xataface.disqus.com/embed.js’; (document.getElementsByTagName(‘head’)[0] || document.getElementsByTagName(‘body’)[0]).appendChild(dsq); })(); blog comments powered by Disqus

//<![CDATA[ (function() { var links = document.getElementsByTagName(‘a’); var query = ‘?’; for(var i = 0; i < links.length; i++) { if(links[i].href.indexOf(‘#disqus_thread’) >= 0) { query += ‘url’ + i + ‘=’ + encodeURIComponent(links[i].href) + ‘&’; } } document.write(‘