1
zippylad
{X_UNAME} not resolving...
  • 2010/9/9 18:33

  • zippylad

  • Just popping in

  • Posts: 14

  • Since: 2005/10/16


Hi all. Having this odd issue:

Automatically sent emails / notifications that go to users do not resolve {X_UNAME}. The most recent example is a user changed his email account, and he received the confirmation email (pulled from the default emailchanged.tpl). The opening line was "Hello {X_UNAME},"...

Oddly enough, if I send a message through the Mail Users option in Admin and include {X_UNAME}, it resolves just fine on the other end.

Any help on this would be good. Right now all user notifications are saying {X_UNAME}...

cHris

2
ghia
Re: {X_UNAME} not resolving...
  • 2010/9/9 23:44

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Were the other tags of eg the signature correctly replaced?
Quote:
Hello {X_UNAME},

You email address at {SITENAME} has been successfully changed.

If you have any question, please feel free to contact us.

-----------
{SITENAME} ({SITEURL})
webmaster
{ADMINMAIL}

3
zippylad
Re: {X_UNAME} not resolving...
  • 2010/9/10 14:41

  • zippylad

  • Just popping in

  • Posts: 14

  • Since: 2005/10/16


Yes - ALL the other tags at the end of the email were replaced correctly.

cHris

4
ghia
Re: {X_UNAME} not resolving...
  • 2010/9/10 15:10

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Try by changing
$xoopsMailer->setToEmails($email);

in /modules/profile/changemail.php to
$xoopsMailer->setToEmails($GLOBALS['xoopsUser']);

5
zippylad
Re: {X_UNAME} not resolving...
  • 2010/9/10 16:19

  • zippylad

  • Just popping in

  • Posts: 14

  • Since: 2005/10/16


Hi ghia.

I made the change you suggested... but once implemented, emails no longer get sent at all. So - that isn't going to work...

cHris

Login

Who's Online

177 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 177


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits