+ Reply to Thread
Results 1 to 4 of 4

Thread: cannot cc mail to multiple recipients

  1. #1
    davidfarrar is offline Registered User
    Join Date
    Feb 2009
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default cannot cc mail to multiple recipients

    In svn revision 2288 (but also in some other recent versions - I'm not sure how far back)

    it no longer seems possible to include multiple recipients in the to or cc fields. We've tried using spaces, commas, semicolons and newlines as a delimiter but in every case roundcube silently ignores the field while giving the impression that the mail was sent with no problem. Is anyone else seeing the same issue?

  2. #2
    drewpydraws is offline Registered User
    Join Date
    Feb 2009
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default yes

    Yes, i'm having the same problem.

    If the last email address you enter comes from your address book then it works fine.

  3. #3
    drewpydraws is offline Registered User
    Join Date
    Feb 2009
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default

    I think I found a work around.

    It seems to work. Although the way the email comes out of the system I don't know why it works.

    In /program/steps/mail/sendmail.inc

    Just after this line in the rcmail_mailto_format() function:
    PHP Code:
    $mailto trim(preg_replace($regexp$replace$mailto)); 
    Add this code:
    PHP Code:
    $mailtoarray=explode(',',$mailto);

      for(
    $x=0;$mailtoarray[$x];$x++)
      {
          
    $mailtoarray[$x]=trim($mailtoarray[$x]);
      }
      
    $mailto=implode(',',$mailtoarray); 
    Basically it strips the " " out of the email addresses. It seems to do some weird things with quote marks and adds them to the email address, but that doesn't appear to affect mail delivery for some reason. Be warned this could **** everything up so be careful and make backups.

  4. #4
    rosali's Avatar
    rosali is offline Super Moderator
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    2,392
    Downloads
    36
    Uploads
    0

    Default

    @ davidfarrar:

    Please always post a link to the ticket URL, if you submit an issue to track and link ticket to forum thread. This way users can follow the ticket and devs can follow the discussion in the forum.

    #1485733 (cannot cc mail to multiple recipients) ? RoundCube Webmail
    Regards,
    Rosali

    __________________
    MyRoundcube Project http://myroundcube.googlecode.com
    MyRoundcube Online Demo - Free Email Address http://mail4us.net
    MyRoundcube Plugins Generic Installation Guide http://mail4us.net/myroundcube/index.php
    Mailing List http://mail4us.net/?_action=plugin.nabble

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Posting Permissions

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