Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Joaquin_Lazaro
Partner - Specialist II
Partner - Specialist II

Publisher PDF & email

Hello:

I'm able to create QlikView reports and distribute them as a pdf file to some mail accounts.

My question is: Is possible with Publisher PDF send an email TO some users and WITH COPY to other users?

Thank you,

Joaquín

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi

Here's an example:

Your command line statement in the External Program task should be:

cmd /c call "D:\QlikView\Send_Email.bat" recipient@company.com

and you bat file Send_Email.bat should be:

"D:\Scripts\Blat240\blat.exe" "Email Header Here"  -to %1 -Server <your smtp server IP here> -f "sender@company.com" -u <email User Name Here> -pw <email password here> -subject "subject here " -body "email body here"

You can look for the parameter name for CC recipients

Thanks

Yaniv

View solution in original post

6 Replies
ashfaq_haseeb
Champion III
Champion III

Hi

you can create two different tasks

Regards

ASHFAQ

Joaquin_Lazaro
Partner - Specialist II
Partner - Specialist II
Author

Hi:

This is what I need:

TO: user_1@xxxx.com, user_2@xxxx.com, user_3@xxxx.com

WC: boss_A@xxxx.com, boss_B@xxxx.com,

Not two mails, netiher five mails.

Is it possible?

Thank you

Joaquín

Anonymous
Not applicable

Hi Joaquin

You cannot add CC or BCC recipients to emails. However, you can utilize an email program (like blat.exe etc..) that can send mail in that form using External Command Task.

Thanks

Yaniv

Joaquin_Lazaro
Partner - Specialist II
Partner - Specialist II
Author

Thank you Yaniv Feldman

I've never used External Command Task, where can I get an example?

Joaquín

Anonymous
Not applicable

Hi

Here's an example:

Your command line statement in the External Program task should be:

cmd /c call "D:\QlikView\Send_Email.bat" recipient@company.com

and you bat file Send_Email.bat should be:

"D:\Scripts\Blat240\blat.exe" "Email Header Here"  -to %1 -Server <your smtp server IP here> -f "sender@company.com" -u <email User Name Here> -pw <email password here> -subject "subject here " -body "email body here"

You can look for the parameter name for CC recipients

Thanks

Yaniv

Joaquin_Lazaro
Partner - Specialist II
Partner - Specialist II
Author

Thank you Yaniv