Mail not sent to customers registered by an Agent

Moderator: crythias

Locked
A05437
Znuny newbie
Posts: 5
Joined: 18 May 2012, 17:01
Znuny Version: 3.1.1

Mail not sent to customers registered by an Agent

Post by A05437 »

When users are allowed to register via frontend (Browser) mails are sent to users informing them of their initial password.
But when I prevent customers from creating account “CustomerPanelCreateAccount = No” via frontend because I choose to do it myself from Admin Panel. No mail is sent to user/customers informing them of their initial password.
I logged in as an Agent.
CustomerReg.PNG
1.) Then clicked on Customers tab.
2.) Add Customer
3.) I filled in the customer first and last name
4.) Username
5.) Email and CustomerID
6.) The field “Valid” was set to valid as well

After I submit the entries, no mail was sent to customer.
Can someone please help? It could as well be bug in 3.1?

Any assistance will be well appreciated.

Best regards,

A05437
You do not have the required permissions to view the files attached to this post.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Mail not sent to customers registered by an Agent

Post by jojo »

works as designed.

Customers can request a password via "lost password link"
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
A05437
Znuny newbie
Posts: 5
Joined: 18 May 2012, 17:01
Znuny Version: 3.1.1

Re: Mail not sent to customers registered by an Agent

Post by A05437 »

Thanks for your reply. But that does not help a user who never knew he has been registered and what his/her username is.

I would expect that when an Agent registers a User/Customer that a mail is subsequently sent to user informing them that they have been registered.

The question is: What really triggers a mail to a User if they register themselves? Is the notification workflow different if the registration is done by an Agent?

Thanks and best regards,

A05437
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Mail not sent to customers registered by an Agent

Post by jojo »

the gent then should send out an email (email ticket) with the credentials.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
A05437
Znuny newbie
Posts: 5
Joined: 18 May 2012, 17:01
Znuny Version: 3.1.1

Re: Mail not sent to customers registered by an Agent

Post by A05437 »

Thanks for your assistance.

I never thought the dumbest man on earth wouldn't have considered that option :lol: 8)

My appreciation so far.

Best regards,

Paul
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Mail not sent to customers registered by an Agent

Post by crythias »

Also, I've added this to the default reply after new ticket: (AutoResponse)

Code: Select all

You can track your ticket here:
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>customer.pl?Action=CustomerTicketZoom&TicketID=<OTRS_TICKET_TicketID>

Login: <OTRS_CUSTOMER_DATA_UserLogin>
Forgot your password? <OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>customer.pl#Reset
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
A05437
Znuny newbie
Posts: 5
Joined: 18 May 2012, 17:01
Znuny Version: 3.1.1

Re: Mail not sent to customers registered by an Agent

Post by A05437 »

Thanks a lot Crythias!

The issue is: When Admins chooses to prevent Customer from registering themselve because of whatever reasons [e.g. security] but the registration should trigger a mail immidiately to customers informing them of their password, after the registration occurs.

Customers registering themselves gets mail sent to them immidiately but not when the Admin de-activates self-registration and does it from administration interface.

My question is: Are there any automated alternatives or a parameter that requires changing?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Mail not sent to customers registered by an Agent

Post by crythias »

well, the thing is, there's nothing really to see until a ticket is created, so (IMO) ignorance is bliss.. Unless you're really creating users manually and having them create the ticket through the web interface, in which case, your point is made. Although, if you're looking to prevent automated signups...
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
A05437
Znuny newbie
Posts: 5
Joined: 18 May 2012, 17:01
Znuny Version: 3.1.1

Re: Mail not sent to customers registered by an Agent

Post by A05437 »

I do create users manually and do expects them to create ticket via web interface. I guess I'll consider "Captcha" as an alternative.

Thanks a lot for your assistance.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Mail not sent to customers registered by an Agent

Post by crythias »

Another thought is that the first ticket is a "sample ticket" for the user upon creation... So, it'd be like: Create user, create ticket telling them that they have an account and here are the credentials ... but to do that as an event, well, it doesn't.
See: Kernel/System/CustomerUser.pm (sub CustomerUserAdd)
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked