Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Send mail to multiple user

Hi everybody,
I have a job that already send mail to one user, but once i add other users seperated by semicolons it doesn't work.
the email adresses are defined as context and are explicitly defined in properties file (xxxx@xxxx.xx).

Thanks for your reply .

Labels (2)
8 Replies
Anonymous
Not applicable
Author

here are the screenshots
0683p000009MGQ4.png 0683p000009MGgs.png
Raghunath
Creator
Creator

Hi Soukainaez,
you need to give email ids separated by , (comma) Example :: context.emailid1+","+context.emailid2. we need to provide , in double quotes because , is constant and context variable will be replaced at runtime
Anonymous
Not applicable
Author

Thank you so much for your reply but i still have problem.
even if email addresses are defined in properties file. 
here is the screenshot .

0683p000009MGgx.png
Anonymous
Not applicable
Author

Hi,
Please try to use " ; “, such as, context.mailid1+";"+context.emailid2 to see if it works?
How many users do you want to send? Have you tried tContextLoad or implicit tContextLoad (context variable for the 'To' field)to load the address value from a file or a database?

Best regards
Sabrina
Anonymous
Not applicable
Author

i tried ; instead of , but it doesn't work , i want to send email to 3 users.
thank you for your help.
Anonymous
Not applicable
Author

Hi,

Can you send your email successfully to many addresses direactly through xxx@xxx.com ; xxx@xxx.com ;?

Here is another solution for your job requirement, please take a look at my screenshots.
Please see a scenario in component reference: TalendHelpCenter:tContextLoad
Best regards
Sabrina
0683p000009MGdV.png 0683p000009MGdf.png 0683p000009MGh2.png 0683p000009MGh7.png
Anonymous
Not applicable
Author

Hi,
I tried to send email directly it works. But once i use contexte it gives me the same error :"CTX_MAIL_SMPT_RECEIVER ne peut etre résolu ou n'est pas un champ" !
Could tell me where this error come from?
Thank you so much
Anonymous
Not applicable
Author

Hi soukainaez,
It seems somthing wrong with your variable.
Could you please show us the screenshots of your Contexts value setting? Is it Ok when you use only one context value in "To" fiels, such as, CTX_MAIL_SMPT_RECEIVER_User1?
Have you tried to switch the view from "Designer" to "Code"  to see the error line in java?

Best regards
Sabrina