Announcement

Collapse
No announcement yet.

Formula: how to send email to multiple emails (to) and (cc)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Formula: how to send email to multiple emails (to) and (cc)

    If you ever want to send an email to multiple emails. e.g send email to manager1@test.com and manager2@test.com but also copy directors director1@test.com and director2@test.com then you can you use a ; character as a delimiter. see below code

    PHP Code:
        $emailId record\create(
            
    'Email',
            
    'to''manager1@test.com;manager2@test.com',
            
    'cc''director1@test.com;director2@test.com',
            
    'status''Sending',
        );

        
    ext\email\send($emailId);​ 

    Cheers
    Rabii
    Web Dev
Working...
X