Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Authenticated SMTP ...
 
Notifications
Clear all

Authenticated SMTP - Multiple addresses (3.4.0)

2 Posts
2 Users
0 Reactions
3,226 Views
(@rexeh)
Posts: 85
Active Member
Topic starter
 
[#1273]

Handling for multiple addresses must be included and exploded from the $to string and looped.

With the current code, authentication is working, but your string "," delimited cannot be used with at least our provider Sendgrid.

Fix for this is simple.

++ // Fix $To Formatting for SMTP clients
++ $toArray = explode(",", $to);
++forEach ($toArray as &$to) {

LINE671: $mail=new Mail();

LINE843: $mail->save();
++ } //ENDING FOR EACH STATEMENT
return $resultMail;


 
Posted : 19 Jul 2013 18H06
(@babynus)
Posts: 14952
Member Admin
 

You email provider do not allow mutltiple receiver of one mail ?
Strange...

Are you sure there is not another separation char that should work ?


 
Posted : 20 Jul 2013 22H55
Share:

Scroll to Top