Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6138113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:48:36+00:00 2026-05-23T17:48:36+00:00

I am doing an email application which will allow multiple attachments and emails will

  • 0

I am doing an email application which will allow multiple attachments and emails will be send on schaduled date. I have some desgining issues here. Please guide me with your expereienced knowledge.

Email will be stored in db table but attachments will be stored in a folder on server. User will upload files first later his email will be stored in db. I have messages and attachments tables. But there are some cases which system should be able to handle.

  1. How I should store attachments of emails of different users (in one folder or in multiple folders) ?
  2. How attachment naming should be manged, more then one attachments (by one or different users) can have same name ?
  3. User can upload files but later can leave composing message, how system will handle such atachments ?
  4. What will be best time to save email message in db table on user button (save or draf) press or compose page request ? If you suggest on page request then how to handle messages that were not successfully finished ?

Plase guide if I am missing any thing else.

I will be more thankful for your guidance, time and sincere advice.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:48:36+00:00Added an answer on May 23, 2026 at 5:48 pm

    You have a couple of choices on storage of drafts:

    1. Separate draft table (or set of tables)
    2. Mark message as draft

    If drafts can be auto-deleted after some time, the first is easier. It may also be easier to handle the programming to keep it isolated, but flagging the email message in the database as draft works, as well.

    When to save? I would save both drafts and ready to send emails, as there is too much risk of losing them if you don’t persist them and persistence to a common location is nicer.

    Multiple files with same name? Either you physically separate the user’s items into different directories or you change the name of the file and store the name it should have as an attachment and have it “renamed” back when the email is sent.

    How to handle attachments of emails never properly composed? that is a business decision, not a technical one. Whatever you choose, the user should know the rules.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating an application in Codeigniter which will allow anyone, without signing in, to
I already have a User table in my primary application database with an email
I have written an AppleScript which when supplied with a Windows network link, will
I must build a Application that will use Webclient multiple times to retrieve every
I am currently doing a summer job as Java programmer. We have an application
I'm trying to make an EXTJS application to send email with an attachment. So
I am writing an email application that interfaces with a MySQL database. I have
I'm having a problem with the following setup: A Java application send email msg
I am using SwiftMailer to send emails from my application. All is working fine
I have created a class library (assembly) that provides messaging, email and sms. This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.