Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Create Case from Inbound email - compose does not pass email to

  1. #1
    apm
    apm is offline Junior Member
    Join Date
    Oct 2008
    Posts
    1

    Default Create Case from Inbound email - compose does not pass email to

    We are lookng at using Sugar to handle our support desk and customer service

    We can create a case from an inbound email - works great
    Once the case is in there they may or may not have an account/contact - I assume we can write a hook to create one on the fly

    The main issue for us is that when we hit COMPOSE to send a reply email to the case it doesnt pass thru either the account email or the contacts email into the TO box on the email

    Any ideas - or is this a known issue?

    Thanks

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Create Case from Inbound email - compose does not pass email to

    Hi apm

    Send a Private Message to kuske.
    I´m sure he can help you. He is the best in emails settings in SugarForum.

    Best regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    dgilroybs8 is offline Senior Member
    Join Date
    Dec 2008
    Location
    Bristol, UK
    Posts
    25

    Default Re: Create Case from Inbound email - compose does not pass email to

    Hi APM,

    Did you ever get anywhere with this? We are trying to resolve the same problem. There seem to be a lot of different threads on this issue, but no solution that I've found yet.

    Regs....David.
    Last edited by dgilroybs8; 2008-12-22 at 04:05 PM.

  4. #4
    sgandhi is offline Sugar Team Member
    Join Date
    Aug 2007
    Posts
    217

    Default Re: Create Case from Inbound email - compose does not pass email to

    In Emails/Compose.php, search for
    PHP Code:
    if ($bean->module_dir == 'Cases') { 
    . In this if block you need to set $namePlusEmail variable with the case contact/account email address. You need to add some code to get this info.

    -Samir

  5. #5
    iamnut is offline Member
    Join Date
    Feb 2009
    Posts
    6

    Exclamation Re: Create Case from Inbound email - compose does not pass email to

    Hello

    I am willing to do what you stated above in my instance if you provide the code. This is the only thing that is preventing us from using this on a wider scale.

    Basically I echo the issue, but change some of the wording:

    1) creating a case and replying initially to the incoming e-mail works great
    2) if a reply from the customer comes in to the particular case, I just want to be able to hit the "REPLY" button and the address from which the message was sent should be filled out. Instead it fills it in with our support address, the same address as our "from" address.

    Is this something that can be changed with the code that you mention? If so, PLEASE let us know.

    Thank you.

    Prasad

  6. #6
    iamnut is offline Member
    Join Date
    Feb 2009
    Posts
    6

    Default Re: Create Case from Inbound email - compose does not pass email to

    an addendum ...

    know I asked for how to code it - I don't want to scare you off with that thinking that you would have to write a detailed reply... I would just need what to set the $namePlusEmail variable to get the reply address. Looking over the code, I really could not find anything except for how to get the primary address or if in the quote section, how to get the $quotesData['toAddress']. I assume there might be something like that I could insert to get the address from which the message was sent?

    Thank you.

    Prasad

  7. #7
    dgilroybs8 is offline Senior Member
    Join Date
    Dec 2008
    Location
    Bristol, UK
    Posts
    25

    Default Re: Create Case from Inbound email - compose does not pass email to

    Hi,

    We've actually gone ahead and had this coded already, along with some other changes. These have all been wrapped up into one installable module.

    Attached are two files, the module and the original specification. Please feel free to try these BUT bear in mind that we have not finished all the customisations yet, so this module is work-in-progress.

    Perhaps you could let me have any feedback if you can suggest any minor improvements.

    Regs....David.
    Attached Files Attached Files
    OS = CentOS 5.2
    Apache = 2.2.3
    PHP = 5.1
    Perl = 5.8.8
    MySQL = 5.0
    Sugar CE = 5.1.0b (Build 4905)
    Firefox = 2.0.0.20

  8. #8
    iamnut is offline Member
    Join Date
    Feb 2009
    Posts
    6

    Default Re: Create Case from Inbound email - compose does not pass email to

    Thanks for your quick reply! I will try it out tomorrow and let you know.

    Prasad

  9. #9
    iamnut is offline Member
    Join Date
    Feb 2009
    Posts
    6

    Default Re: Create Case from Inbound email - compose does not pass email to

    Hello

    Sorry this took so long.

    Okay, uploaded/installed/committed the module but for part #3, it is not working just yet - I even restarted the server. This is the part about being in the case section and there is an e-mail... when I hit reply, it does not insert a reply to address in the "to" field when it brings up the compose screen - that should just come from the original e-mail to which I am replying.

    Please post any updates and let me know if there is anything else you want me to test. It's a brand new installation (a week or so) with no other modules installed except for yours.

    Thank you.

    Prasad

  10. #10
    dgilroy is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    32

    Default Re: Create Case from Inbound email - compose does not pass email to

    Hi Prasad,

    This should work. Can you confirm the following :-

    1. You have an Account and Contact with an email address that you email in a Case from.
    2. When you email in a Case, the Case is correctly linked to the Contact automatically.
    3. When you then click on the "Compose Email" in the Activities sub-panel of the Case, the email client should fill in the email address of the Contact to whom the Case has been related.

    Can you check this please? It works fine on our 5.1b installation.

    Regs....David.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 15
    Last Post: 2010-04-01, 04:04 PM
  2. Inbound Email Issue
    By lizesc in forum Help
    Replies: 1
    Last Post: 2008-06-25, 05:23 PM
  3. Pass values to Email UI on compose
    By jeffy in forum Developer Help
    Replies: 0
    Last Post: 2008-03-31, 09:52 PM
  4. Functionality of inbound email system
    By silverstripe in forum Help
    Replies: 0
    Last Post: 2006-01-12, 08:50 AM
  5. SugarSuite 4.0 - Inbound email processing
    By manoj in forum Feature Requests
    Replies: 3
    Last Post: 2005-12-13, 06:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •