Results 1 to 5 of 5

Thread: emial variables not replaced after sending email

  1. #1
    sawan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    130

    Default emial variables not replaced after sending email

    Hello everyone,

    O/S Windows 2000
    SugarCommunity Edition
    Version 5.0.0b (Build 3120)
    (previously Version 5.0.0a (Build 3120) was there i have upgreaded with patch b i.e Version 5.0.0b (Build 3120) )


    I have made a custom module housing provider.


    I have made a relationship in this module with activities for sending an email for a selected Housing provider as we do in leads. i.e. when an housing provider is opened in detail view we can click on compose email button in activities subpanel and compose email page opens.


    1) This works but the problem is the email id of selected housing provider is not displayed in to section in compose email page.

    i have created an email template

    I have added this module and its fields as dropdown list in Email template along with Account,Contact/Lead/Prospect,Users.

    The housing provider module name is coming in this first list.
    Also on selecting housing provider its fields are displeyed and listed in second dropdown list
    After selecting the field name from this second list that field name is diaplayed in format $modulename_fieldname.
    After clicking on insert button this value is inserted in body area.

    then i have saved this email template and named it 'tryhp'.


    2) but when i click on compose button on activities subpanel in housing provider's detail view the email id of selected housing provider does not come in to section of email page and after an email is sent the value is not replaced by field values.

    3) Also when send button is clicked the email is sent but an error comes

    " Warning: Link::include(metadata/h5555_housivider_emailsMetaData.php) [function.include]: failed to open stream: No such file or directory in F:\interimhousingsolutions_com\sugarcrm\data\Link. php on line 896

    Warning: Link::include() [function.include]: Failed opening 'metadata/h5555_housivider_emailsMetaData.php' for inclusion (include_path='F:\interimhousingsolutions_com\suga rcrm\include/..;.;C:\php5\pear') in F:\interimhousingsolutions_com\sugarcrm\data\Link. php on line 896
    while(1);/*{"composeLayoutId":"composeLayout1"}*/ "



    Please i am trying to find the solution for last three days but not able to find correct file and place to make changes.
    please help me.

    it really urgent.
    your help will be very much appericiable.
    Last edited by sawan; 2008-04-01 at 08:40 AM.

  2. #2
    sawan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    130

    Default Re: emial variables not replaced after sending email

    Hello everyone,

    i have found the way to solve this email variable problem
    the main problem was with email1 field. the module i had created was of company type and so it didi not have email1 field.
    i made a new module houseprovider and selected type Person for it.
    now it has email1 field so now variables are replaced by value after sending emails

  3. #3
    fxdd3494 is offline Junior Member
    Join Date
    Nov 2007
    Posts
    1

    Default Re: emial variables not replaced after sending email

    Hello,
    I tried to work out variable replacement within the email template for Accounts and Leads both on my local installation of Sugar PRO and then with the demo instance of SugarCRM PRO, hosted on sugar official website. In Either case SugarCRM was only able to parse variables originated through the Users module, but not from the other two - Accounts, Leads/Contacts/Prospects.
    What I was doing was I was picking any Lead or Account going into detail view, and then either clicking on compose email button under Activities subpanel, or simply clicking through the email address hyperlink in a detail view. After that - I was taken to the email module, as expected, where I was selecting my previously created template, and then sending an email message with the previously created template to myself, in all cases I was only getting the following variables replaced:
    $contact_user_user_name $contact_user_first_name $contact_user_last_name $contact_user_full_name $contact_user_name
    - These come from the Users module,
    But as far as it goes for the $account_name or $contact_name $contact_full_name $contact_first_name $contact_last_name $contact_email_and_name1 $contact_account_name, none of these were parsed...
    If anyone had a way to fix this issue, please let me know.
    Thanks
    Alex

  4. #4
    webnom is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    35

    Default Re: emial variables not replaced after sending email

    Hello,
    any fix for this issue?
    also having problems in 5.1CE
    sporadic (the worst)

    thanks,
    /Brad
    ---------------------------------
    Brad Pirman

    Elite Meetings International, Inc.

    The premier hotel sourcing and RFP engine for meeting planners.

    Browse our approved collection of luxury, high-end hotels
    when planning your next meeting or incentive trip.

  5. #5
    SamuelAugy is offline Sugar Community Member
    Join Date
    Sep 2007
    Location
    Paris (France)
    Posts
    238

    Default Re: emial variables not replaced after sending email

    I think the developper mode in admin is checked. Unchek it and it will works fine.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HOW-TO guide for Email Campaigns.
    By agupta in forum Marketing/Campaign Management
    Replies: 146
    Last Post: 2012-01-31, 03:08 PM
  2. Poll: Dump Sugar Mail and integrate something better?
    By bjs3 in forum General Discussion
    Replies: 246
    Last Post: 2011-11-23, 04:05 PM
  3. email marketing feature requests
    By maxsutter in forum Feature Requests
    Replies: 1
    Last Post: 2008-10-11, 10:19 AM
  4. Replies: 0
    Last Post: 2005-10-10, 04:54 PM
  5. Errors sending email in Mass Email Campaigns
    By blakegrover in forum Help
    Replies: 0
    Last Post: 2005-06-13, 02:08 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
  •