PDA

View Full Version : Wrong Ticket From address RC3


bigben
01-29-2008, 08:27 AM
I just installed RC3 and I notice that when a ticket is generated it is coming from the "Email Name:"@"Helpdesk URL:" as apposed to the e-mail address that is being specified. It only appears to be doing this for the initial ticket creation. If you reply to a ticket the from address is the correct address.

What it should be:
Technology Support <Support@domainname.com>

What is actually is showing up as:
Technology Support<Technology.Support@server.domainname.com>
Technology Support = Email Name: (with a period in it)
server.domainname.com = the actual server the script is installed on and not even the virtual name the server is running under.

Ebonhand
01-29-2008, 08:31 AM
Hi bigben,

Glad you posted this - I'll need to wait until this one is fixed before I upgrade, as I've got RC2 on a production system, and the above wouldn't play well!

Kind regards,
Ebonhand

4ice
01-29-2008, 08:47 AM
Hi Ben,

thanks for pointing this out. We have tested so much, but as expected there are still things incorrect.

I will see what is causing this.

bigben
01-29-2008, 08:53 AM
Thank you. I was looking through the code to see if I could figure it out, could you tell me where the "New Ticket Autoresponse" message is generate from? Since it only happens for new tickets I am hoping it will be something easy to nail down.
Thank you,
Ben

4ice
01-29-2008, 08:54 AM
Ok, I think I found the problem.

In the new version of class.ticket.php change
$from=$email->getName(); on line 963
into
$from=$email->getEmail();

Can you please verify if this solves it for you as well.

bigben
01-29-2008, 08:59 AM
That worked!

I test new tickets via e-mail and web. Then replied to each ticket via e-mail and web to make sure that the updates tool.

Thank you very much!
Ben

4ice
01-29-2008, 09:08 AM
That worked!

I test new tickets via e-mail and web. Then replied to each ticket via e-mail and web to make sure that the updates tool.

Thank you very much!
Ben

Glad it worked. I have sent a PM to Peter to fix this in the downloads, because I cannot do this.

Ebonhand
01-29-2008, 09:22 AM
Hi all,

Glad to hear there's a fix, I'll install RC3.01 now :)

Kind regards,
Ebonhand

4ice
01-29-2008, 09:24 AM
The fix is now included in the download file.