Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Specialist II
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
Highlighted
Creator III
Creator III

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
Highlighted

Hi

you can create two different tasks

Regards

ASHFAQ

Highlighted
Specialist II
Specialist II

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

Highlighted
Creator III
Creator III

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

Highlighted
Specialist II
Specialist II

Thank you Yaniv Feldman

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

Joaquín

Highlighted
Creator III
Creator III

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

Highlighted
Specialist II
Specialist II

Thank you Yaniv