Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Hyperlinks not showing up in e-mail notifications.

  1. #1
    nhellwig is offline Senior Member
    Join Date
    Oct 2009
    Posts
    23

    Default Hyperlinks not showing up in e-mail notifications.

    Whenever a new lead is assigned to a person, they receive a notification e-mail that looks like the following:

    "Joe Smith has assigned a Lead to bmoore.

    Name: Bruce Thomas
    Lead Source: Employee
    Status: Assigned
    Description: This is a test account

    You may review this Lead at:"

    Everything is correct up to "You may reveiw this Lead at:". No hyperlink is sent with the notification e-mail, it is just left blank. I looked at the e-mail template and it appears to be correct showing <{URL}> where the URL is supposed to appear in the message. We are running SugarCRM Community Edition version 5.2.0e. Anyone have any ideas as to why the URL isn't appearing? Thanks in advance for any assistance.

    Neil

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Hyperlinks not showing up in e-mail notifications.

    Take a look at the config.php file for your install and verify that the site_url setting is defined.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    nhellwig is offline Senior Member
    Join Date
    Oct 2009
    Posts
    23

    Default Re: Hyperlinks not showing up in e-mail notifications.

    Thanks for the reply Angel. The setting looks correct:

    'site_url' => 'http://(our crm url)',

    Of course the actual URL of our CRM is listed in the above example. Is there something that needs to be changed?

    Thanks,

    Neil

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Hyperlinks not showing up in e-mail notifications.

    That would seem OK. That's a bit strange that it would generate the message, but not parse the URL.

    Do you use e-mail templates within Sugar? If so, do you have any problems embedding fields and in turn, have them parse?
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    nhellwig is offline Senior Member
    Join Date
    Oct 2009
    Posts
    23

    Default Re: Hyperlinks not showing up in e-mail notifications.

    We are actually fairly new to SugarCRM so we haven't used the e-mail functions. We have been loading in leads and I am ready to start assigning them. This issue just came up when I started assigning leads to our sales staff. We haven't done anything out of the ordinary that I am aware of. I believe that it was a pretty standard installation. Could it possibly have anything to do with whether I am using the SugarCRM e-mail client or an external client? I wouldn't think so, but I thought I would ask.

    Thanks,

    Neil

  6. #6
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Hyperlinks not showing up in e-mail notifications.

    No, I don't think it is due to that. Were that the case, you wouldn't receive the messages at all.

    Something else is going on. It is possible that the e-mail template Sugar uses when sending the notification has become damaged in some way.

    Take a look at the file <sugar>/include/language/en_us.notify_template.html

    It contains a section that begins with the following:

    Code:
    <!-- BEGIN: Lead -->
    and ends with

    Code:
    <!-- END: Lead -->
    Copy the text between those tags and post it in your reply.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  7. #7
    nhellwig is offline Senior Member
    Join Date
    Oct 2009
    Posts
    23

    Default Re: Hyperlinks not showing up in e-mail notifications.

    Here is the code:

    <!-- BEGIN: Lead -->
    {ASSIGNER} has assigned a Lead to {ASSIGNED_USER}.

    Name: {LEAD_NAME}
    Lead Source: {LEAD_SOURCE}
    Status: {LEAD_STATUS}
    Description: {LEAD_DESCRIPTION}

    You may review this Lead at:
    <{URL}>
    <!-- END: Lead -->

    Please let me know if something appears incorrect.

    I also tried sending some e-mails with hyperlinks from SugarCRM to my personal account. All of the hyperlinks appeared as they should have when I checked my personal e-mail account.

    Thanks,

    Neil
    Last edited by nhellwig; 2009-10-14 at 08:46 PM.

  8. #8
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Hyperlinks not showing up in e-mail notifications.

    That's rather bizarre. The template looks good and it is parsing the other fields. Kind of strange that it wouldn't parse URL.

    A bit of a shot in the dark on my part, but have you taken a look at the sugarcrm.log file in the root of your install? Perhaps it contains further clues.

    Not sure what else you could try that wouldn't require some hands-on troublehshooting.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  9. #9
    nhellwig is offline Senior Member
    Join Date
    Oct 2009
    Posts
    23

    Default Re: Hyperlinks not showing up in e-mail notifications.

    I just tried assigning an account and a contact. The notification e-mails for each of these are missing the URL as well. This leads me to believe that there is something wrong with our listed URL since it appears that the issue is affecting all notifications.

  10. #10
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Hyperlinks not showing up in e-mail notifications.

    That's weird because your site_url setting had something in it.

    The real odd part about is that you are not even getting the text after the site_url value.

    Open up <sugar>/data/SugarBean.php and check for this line:

    Code:
    $xtpl->assign("URL", $cleanUrl."/index.php?module={$this->module_dir}&action=DetailView&record={$this->id}");
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Hyperlinks in ListView
    By fabivomsee in forum Help
    Replies: 3
    Last Post: 2009-08-26, 11:13 AM
  2. Links as Hyperlinks?
    By biznizza in forum Help
    Replies: 1
    Last Post: 2009-04-12, 11:30 PM
  3. E-mail notifications
    By compuwar in forum Developer Help
    Replies: 6
    Last Post: 2009-04-02, 09:26 PM
  4. Notifications in Inbound Mail
    By malcolmh in forum Feature Requests
    Replies: 3
    Last Post: 2006-10-21, 09:34 AM
  5. E-mail notifications
    By mornature in forum Help
    Replies: 8
    Last Post: 2006-03-28, 06:01 PM

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
  •