Results 1 to 4 of 4

Thread: New Bug in SugarCRM (Emails)

  1. #1
    AlexAv's Avatar
    AlexAv is offline Sugar Community Member
    Join Date
    Oct 2009
    Location
    Ukraine
    Posts
    922

    Default New Bug in SugarCRM (Emails)

    I have submited this bug for SugarCRM. Was Found in versions 5.2 , 5.5

    Often people ask the question "Why SMTP connection doesn't work?" on the forum.

    SMTP will doesn't work if password contains symbols ', ", <, > .

    You need to edit the file "/include/phpmailer/class.smtp.php" for solving a problem.
    (This solution is simple but not the best)

    PHP Code:
    ...
    function 
    Send() {
    ...
    case 
    'smtp':
             
    $toHTML = array(
    '"' => '&quot;',
    '<' => '&lt;',
    '>' => '&gt;',
    "'" => ''',
    );

    $this->Password str_replace(array_values($toHTML),array_keys($toHTML),$this->Password);

    $result $this->SmtpSend($header$body);
    ...

    }
    ... 
    Regards,
    Alexei Avramenko
    Last edited by AlexAv; 2010-01-09 at 02:44 PM.
    Letrium ltd. - Only high quality service
    http://letrium.com

  2. #2
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: New Bug in SugarCRM (Emails)

    Or you could use htmlentities() ?
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  3. #3
    AlexAv's Avatar
    AlexAv is offline Sugar Community Member
    Join Date
    Oct 2009
    Location
    Ukraine
    Posts
    922

    Default Re: New Bug in SugarCRM (Emails)

    No, you could use html_entity_decode
    Letrium ltd. - Only high quality service
    http://letrium.com

  4. #4
    AlexAv's Avatar
    AlexAv is offline Sugar Community Member
    Join Date
    Oct 2009
    Location
    Ukraine
    Posts
    922

    Default Re: New Bug in SugarCRM (Emails)

    SugarCRM corp. recognized bug.
    It will be fixed in the next release (5.5.1.RC2)
    Letrium ltd. - Only high quality service
    http://letrium.com

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Where SugarCRM keeps emails?
    By Mithun in forum Developer Help
    Replies: 1
    Last Post: 2009-06-16, 05:24 AM
  2. Sending emails in SugarCRM
    By openminder in forum Developer Help
    Replies: 4
    Last Post: 2009-05-18, 06:07 AM
  3. SugarCRM 5.2 Bug in EMails Modul?
    By Micha in forum Deutsche
    Replies: 3
    Last Post: 2009-01-29, 09:31 AM
  4. emails in sugarcrm
    By anitan in forum General Discussion
    Replies: 0
    Last Post: 2006-03-06, 09:55 AM
  5. emails and users under SugarCRM ?
    By ymartin in forum General Discussion
    Replies: 2
    Last Post: 2006-02-08, 01:54 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
  •