Support

Akeeba Ticket System

#19463 Change the from/reply to email

Posted in ‘Akeeba Ticket System for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Ticket System version
n/a

Latest post by nicholas on Monday, 10 March 2014 07:49 CDT

sakis
Hi

Although i am clarifying that replies should be submited only via my ticket system, a lot of users are ignoring that, replying directly to the ticket email they got. So i created a noreply email account with an autoresponder.

Now how can i set this email to be appeared as the from email in the emails they got ftom the ticket system? Is there a setting for this?
I don't want to change my global conf. email, because i am using it for receiving emails in my email client and is used by other components as well

Kind Regards,
Sakis

nicholas
Akeeba Staff
Manager
ATS is using Joomla!'s JMailer to send out its emails. This means that the sender name and email address are those specified in the global configuration of your site. I was about to tell you that this is the end of the story, however it just dawned to me that you can abuse a different ATS feature to do exactly what you want!

Indeed, you can trick ATS into reporting a different from email address using a seemingly unrelated feature. Each support category has the "Category email" option. Set it to the no-reply email address you have created. As you can see in plugins/ats/postemail/postemail.php around line 400 when this is not empty it's overriding the "From email" defined in your site's global configuration, therefore the emails sent out to your users appear to be coming from this email address.

Normally this feature is used for the "reply by email" feature in ATS but you can safely abuse it as I described to do exactly what you want. Cool, huh? :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

sakis
Seems to work!
Cool indeed

Thanks

nicholas
Akeeba Staff
Manager
You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!