Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

I clicked the Send Email button on the Activities related list present on the Case object. While sending the mail, I also attached an image to the mail. While I receive the attachment in the email address specified, I am not able to locate the same attachment in salesforce. Also the email that I sent appears in the description/comments field of the task. I checked the Task attachments but I could not find them

Any idea, where these attachments are stored? If it is not possible to locate them in the Salesforce UI, fine; can I get them by issuing a query to some object?

share|improve this question

1 Answer 1

"It's not a bug, it's a feature."

As annoying as it is, they do it on purpose to protect us from exhausting our file storage space (you would either have to periodically wipe out attachments or keep buying more space).

http://success.salesforce.com/questionDetail?qid=a1X30000000JN2YEAW http://boards.developerforce.com/t5/Visualforce-Development/Attachment-used-in-email-template-is-not-saved/td-p/282245

And idea to upvote: http://success.salesforce.com/ideaView?id=08730000000bEDlAAM

If you really want to capture attachments - you need to write some code.

  1. Create an inbound email service that'd be analyzing "To" address, searching for Case number in email's subject etc.
  2. Put the address in BCC field of your email (you'd have to do it manually every time though; painful because the email address is not user friendly). Maybe create a custom button that'd be prepopulating the BCC field for you.
  3. Or use the trick with "Compliance" email address, see Accessing Outbound Mails for details.
share|improve this answer
    
can you elaborate on #2? when the user selects an email template, is there a way to prepopulate the bcc? –  nivyaj Jan 18 at 18:32
    
@nivyaj just on email template selection - not much you can do. But Standard URL hacks are fine. Create a custom button / link to send emails and use p5=example@example.com in that the address. Not ideal but it's something. See salesforce.stackexchange.com/questions/17780/mail-merge-button too (if you want to let user specify the template it's of course fine too, nobody says you have to specify template_id) –  eyescream Jan 18 at 21:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.