Forums

abput "dynamic to"

kurt2000 04 Nov, 2009
i ve a textbox and if there is one mail in it dynamicsend to is working fine but if there is more then one like

[email]mail1@gmail.com[/email];mail2@gmail.com;mail3@gmail.com

it gives error that cant send mail

is there anysolution
GreyHead 05 Nov, 2009
Hi kurt,

Use commas to separate the addresses (not semi-colons)

[email]mail1@gmail.com[/email],mail2@gmail.com,mail3@gmail.com

Bob

PS See the tooltip help for 'To' in the Email Setup Toolbox
kurt2000 12 Nov, 2009
still the same problem even with your exapmle grey

"PHPMAILER_RECIPIENTS_FAILEDmail1@xxgmail.com,mail2@xxgmail.com,mail3@xxgmail.com"
GreyHead 12 Nov, 2009
Hi Kurt,

Sorry, I've no idea about whay that fails. Which mail service are you using on your site? Sometimes PHP Mail Function seems less flexible than SMTP mailer.

Bob
This topic is locked and no more replies can be posted.