About mail sending, is it right? thanks a lot!

MgeSend.Recipients.EMailAddresses:='test1@test.com;test2@test.com;test3@test.com';

MgeSend.CCList.EMailAddresses:='test4@test.com;test5@test.com;test6@test.com';
0
hots
7/25/2015 3:01:21 AM
embarcadero.delphi.firemonkey 4901 articles. 4 followers. Follow

3 Replies
1061 Views

Similar Articles

[PageSpeed] 10
Get it on Google Play
Get it on Apple App Store

hots wrote:

> MgeSend.Recipients.EMailAddresses:='test1@test.com;test2@test.com;test
> 3@test.com';
> 
> MgeSend.CCList.EMailAddresses:='test4@test.com;test5@test.com;test6@te
> st.com';

Assuming you are using Indy's TIdMessage component, then yes, that will work. 
 You can also assign the addresses individually:

{code}
MgeSend.Recipients.Add.Address := 'test1@test.com';
MgeSend.Recipients.Add.Address := 'test2@test.com';
MgeSend.Recipients.Add.Address := 'test3@test.com';

MgeSend.CCList.Add.Address := 'test4@test.com';
MgeSend.CCList.Add.Address := 'test5@test.com';
MgeSend.CCList.Add.Address := 'test6@test.com';
{code}

-- 
Remy Lebeau (TeamB)
0
Remy
7/25/2015 3:58:32 AM
thanks a lot
0
hots
7/25/2015 5:25:50 AM
thanks a lot
0
hots
7/25/2015 5:26:21 AM
Reply: