Skip to Content

Attachment to be sent in a mail from a path

Hello Guys,

I'm stuck with few things, the below is the requirement. Can you please guide me:

1. Download data from database table to excel sheet based on the path. -> this is done.

2. Create excel sheet only if there is data. -> this is done.

3. Sending the mail with 4 or 5 sheets downloaded on that particular day in the path specified. -> this is where i'm stuck as how to check the latest downloaded sheets. Name of the sheet contains the date and the sheets should be picked from the path.

Please guide me. Thank you for your help in advance.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 02, 2014 at 05:49 AM

    Hi Vinod

    The program to send email will have to run in foreground in order to pick the files. Else another option can be the logic via which database table is downloaded into excel file needs to be copies.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.