Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to download the email with attachments to local drive?

former_member569532
Participant
0 Kudos

Hi Experts,

I have a requirement to download the email message with attachments to local drive.I am using cl_bcs class to send the email out.Kindly anyone advise how to do this.

Thanks in advance,

Anusha.B

19 REPLIES 19

Former Member
0 Kudos

Hi Anusha,

You have to send email with attachment or download the attachment from email?

Regards,

Srinath

0 Kudos

I need to download the email to local drive.

matt
Active Contributor
0 Kudos

What as? Text, pdf? What software will be used to handle the downloaded email and attachments?

0 Kudos

My attachemnts will have pdf,.xls,.txt,.doc extensions.I need to download the email content along with attachments.

matt
Active Contributor
0 Kudos

And what format did you want the email in?

0 Kudos

I want to download the email with all recipeients to local drive

matt
Active Contributor
0 Kudos

And what format do you want the email and the recipients in?

Juwin
Active Contributor
0 Kudos

Where is the email sent to? Download from where? Outlook/ Gmail/ SAP Inbox/ SAP Outbox?

Thanks, Juwin

0 Kudos

I need to download the email while sending from program.

matt
Active Contributor
0 Kudos

And what format do you want the email and the recipients in?

former_member186746
Active Contributor
0 Kudos

Hi,

What is the functional requirement here?

Because if all you want is to have 1 place where all the emails sent from SAP are stored and accessed, simply add a cc when you send the email to some generic email.

Kind regards, Rob Dielemans

0 Kudos

HI,

They don't want  to send to CC email.They want to email message in shared drive.is it possible to do this/

0 Kudos

Hi,

so functionally the requirement is "we want to have a shared space to see emails".

The functional requirement can be fulfilled 100% with a shared email address.

Kind regards, Rob Dielemans

0 Kudos

Probably in this instance the "they" is the functional analysts who are too dense to see the sensible solution.

Alternatively, it could the that the "they" is the business, and the functional analysts haven't been advising them of the sensible solution (probably because they can't think of one).

However, even if the emails are downloaded, we still don't know what format they should be in. This thread is getting close to being locked.

0 Kudos

I think they is someone who knows a little bit about technology and is not good at dictating functional requirements. I've seen this a lot where the "functional" requirement is like: we need a program to download table EKPO with bla bla bla.

A correct functional requirement would be: we need the following purchasing information.

Then it can be a standard SAP program, a query, a CDS view, or indeed a program.

@ Anusha.B

Please try to challenge this requirement, or have a discussion with they and delve a bit deeper until you fully understand the business need. There has to be a better way to give the users what they want without creating unwanted reports.

0 Kudos

They want the email in shared drive for audit purpose.

0 Kudos

For audit purposes a shared email account could just as well be used.

0 Kudos

Hi All,

Thank you for your replies.I will try to expain them.

0 Kudos

Hi Matt/Rob, One reason why people may not like mailboxes is if there is a company policy where the emails get archived periodically. In our company the emails older than 30 days gets auto archived, which makes it extremely difficult to search for specific emails on outlook. We have to constantly move emails out of mailbox into PST folder in order to avoid this. This method will not work with a shared mailbox.

Hi Anu, Please check if your company has any such rules/ limitations in using a shared mailbox. Emails can be stored as text/PDF/zip/htm/msg etc. That's why Matthew has been asking you for the format. Please answer that, along with the steps you have taken till now to achieve that, and any issues you have faced on the way.

Thanks