Need a good way for user to select “To” for email sending

前端 未结 3 1830
轮回少年
轮回少年 2021-01-14 08:03

I have a website where a user can send out emails from. I have kind of mimics basic form with:

To: 
Subject:
Attachments:         


        
3条回答
  •  不要未来只要你来
    2021-01-14 08:42

    I'd make 'send to all' just a checkbox, and the server determines that list (so it's not displayed client side).

    With specific users, I'd allow the person who choose ID's from a list (not actual email addresses). If it's not mail client, you probably shouldn't be listen these peoples' emails publically. How you present this depends on how many people are in your database, etc. But autocomplete may be nice, or a simple tree-based selection. (Listing groups > people).

提交回复
热议问题