Help Desk Software & Beyond
May 21, 2012, 11:02:36 PM *
Welcome, Guest. Please login or register.
To post messages you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.

Login with username, password and session length
News: Welcome to Help Desk Software forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [REQ] Adding Sender's Name To Outlook e-mail  (Read 3388 times)
SamIAm
Newbie
*

Karma: 0
Posts: 10


View Profile
« on: December 13, 2006, 12:12:40 AM »

I have everything working with no problems and e-mail works fine, but would like to have a sender name (user name?) when receiving e-mails in Outlook. Currently, all I receive is the ticket # and subject.

Any assistance would be most appreciated.

« Last Edit: January 18, 2008, 03:49:56 PM by sparky672 » Logged
Magnus Wester
Full Member
***

Karma: 2
Posts: 116



View Profile WWW
« Reply #1 on: December 13, 2006, 04:28:10 AM »

When TTX sends e-mails, it uses the Company name and Company e-mail fields in the setup for the From fields in the e-mail. In the ttxcfg.cgi file, these are the "company" and "email" fields.
Logged
SamIAm
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #2 on: December 13, 2006, 06:49:47 AM »

Understood... tho, I'm not getting any senders names in my Outlook e-mails. I checked ttxcfg.cgi and the e-mail is correct, and I do receive them.

My 'problem' is that the e-mails come across without senders names. It would be very helpful to know whom the ticket is coming from by having their name along with the subject on the e-mails when they show up in my inbox. Currently, I only get a ticket # and Subject.

Is there a way of forcing the name that is typed into the ticket to show up as the e-mail senders name when I receive notification of a ticket? It's not very helpful to see my name (or in this case, no name) on every new ticket.
Logged
Magnus Wester
Full Member
***

Karma: 2
Posts: 116



View Profile WWW
« Reply #3 on: December 13, 2006, 07:24:20 AM »

Oh, sorry, I got it the other way.

I guess you've seen that the sender's name and e-mail address is inside the e-mail, just not in the subject. As far as I know there is no template for the e-mail header fields, you need to modify the code - looks like TTXMail.pm in this case.
Logged
SamIAm
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #4 on: December 13, 2006, 10:39:18 AM »

First, thank you for the prompt responses... it's most appreciated.

Second, I am not a coder - I only know enough to get myself in trouble. Smiley

Tho, I have been able to easily customise my templates to my satisfaction. Also, I have purchased the mail module... however, while all the other modules I purchased have become available, I see no changes in the mail settings. Don't know if I need this or not for my issue?


In looking at TTXMail.pm, I found what I suspect is the code for sending mail:

-----------------------------------------------------------------------------------
if (!smtp()) {
    return 0 if !open(MAIL, "|$mailer -t");
    my $bcc = "Bcc: ".$_[0]->{bcc}."\n" if $_[0]->{bcc} ne undef;
    print MAIL "To: ".$_[0]->{to}."\nFrom: ".encode($_[0]->{from}, 1)."\n".$bcc.
               "Subject: ".encode($_[0]->{subject}, 0).
               "\n$datetag$contenttype\n\n".
               "This is a multi-part message in MIME format\n\n".
               "--$txtboundary\nContent-type: text/plain; charset=\"".charset()."\"\n".
               "Content-Transfer-Encoding: quoted-printable\n\n".
               quoteit($msg)."\n\n";
    print MAIL "\n\n--$txtboundary\nContent-type: text/html; charset=\"".charset()."\"\n".
                 "Content-Transfer-Encoding: base64\n\n";
    print MAIL base64(htmlpage($html));
    print MAIL "\n--$txtboundary--\n";
    close MAIL;
 -----------------------------------------------------------------------------------


Is there any thing here that is missing, or precluding me from receiving a sender's name (the one they type in the newticket request form) from showing up in my inbox - and, can I add anything to force this to happen (perhaps something in the mail module I have purchased?)?

Thanks for your patience.
Logged
Magnus Wester
Full Member
***

Karma: 2
Posts: 116



View Profile WWW
« Reply #5 on: December 13, 2006, 11:16:35 AM »

I'm just a user like yourself. Even though I definitely would consider myself a coder, I don't know much about the language that TTX is written in, and I don't know much about the internals of the application either.

   Also, before you modify a purchased application, you should consider the maintenance problem you get, carrying forward your modifications from version to version. Compare this to just asking the users to place their name at the beginning of the subject, or simply opening each mail from TTX to see who sent it.

   If you still want to do this, your best shot at this point is to talk to the developers (they participate in this forum) and ask them to make this change for you for a fee. To save some time and money, you should of course request all the modifications you can come up with in one go.
Logged
Alex
Administrator
Hero Member
*****

Karma: 22
Posts: 605



View Profile WWW
« Reply #6 on: December 13, 2006, 01:34:47 PM »

Please edit onewticket.txt email template. Here are the macros you may need:

(%GROUP%)
(%UNAME%)
(%UEMAIL%)
Logged

Follow me on: LinkedIn
Magnus Wester
Full Member
***

Karma: 2
Posts: 116



View Profile WWW
« Reply #7 on: December 13, 2006, 01:57:06 PM »

The Subject field is currently not set from the template. Perhaps you were thinking about adding that feature?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.024 seconds with 17 queries.