Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
joaquinlr
Valued Contributor 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
yfe
Contributor III

Re: Publisher PDF & email

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

6 Replies

Re: Publisher PDF & email

Hi

you can create two different tasks

Regards

ASHFAQ

joaquinlr
Valued Contributor II

Re: Publisher PDF & email

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

yfe
Contributor III

Re: Publisher PDF & email

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

joaquinlr
Valued Contributor II

Re: Publisher PDF & email

Thank you Yaniv Feldman

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

Joaquín

yfe
Contributor III

Re: Publisher PDF & email

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

joaquinlr
Valued Contributor II

Re: Publisher PDF & email

Thank you Yaniv

Community Browser