How to send Sql query output as mail

Highlighted
Five Stars

How to send Sql query output as mail

 Hello Community,

 

I'm new to talend and wanted to execute an job which would send my Sql query output as mail to the recipients .The query needs to be run on daily basis and the output should be attached to mail.It'd be great if anyone can help me with components and connection.

 

 

Thanks in advance!

 

 

 


Accepted Solutions
Moderator

Re: How to send Sql query output as mail

Hello,

Please have a look at this related topic:https://community.talend.com/t5/Design-and-Development/resolved-Sending-query-result-by-mail/m-p/100...

Let us know if it helps.

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

All Replies
Moderator

Re: How to send Sql query output as mail

Hello,

Please have a look at this related topic:https://community.talend.com/t5/Design-and-Development/resolved-Sending-query-result-by-mail/m-p/100...

Let us know if it helps.

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: How to send Sql query output as mail

Hi Sabrina,

 

Thanks for your reply-that was of great help.I would appreciate if you'll help me to get the output which is sent in mail in tabular form.Following is the example that would give you brief idea about my query.

 

The output I want in mail:

 

schema1  schema2 schema3

data            data         data

data            data         data

data            data         data

 

The output I'm getting:

schema1  

data            

data           

data

schema2

data

data

data

schema3

data

data

data           

Thanks in advance!

 

Best Regards.

Moderator

Re: How to send Sql query output as mail

Hello,

What's your output component? Could you please post your current job design screenshot here?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog