Question: What am I doing wrong here? Only one e-mail address receives email and not the other one. So `my@email.com` receives it and `yours@email.com` does not receive it.

```
#!/usr/bin/python3

import smtplib, ssl
import email.message
import email.utils
from email.mime.multipart import MIMEMultipart
from email.mime.base import MIMEBase
from email.mime.text import MIMEText
from email.utils import formatdate
from email import encoders
def sendfile(subject, body_text, f_name):

    """
    Sends e-mail with attachment.
    """

    msg = MIMEMultipart()
    msg['From'] = 'him@email.com'
    msg['To'] = 'my@email.com,yours@email.com'
    msg['Date'] = formatdate(localtime=True)
    msg['Subject'] = subject
    msg.attach(MIMEText(body_text))

    part = MIMEBase('application', "octet-stream")
    part.set_payload(open(f_name, "rb").read())
    encoders.encode_base64(part)
    part.add_header('Content-Disposition', 'attachment; filename={}'.format(f_name))
    msg.attach(part)

    smtp_obj = smtplib.SMTP("localhost")
    smtp_obj.sendmail(msg['From'], [msg['To']], msg.as_string())
    smtp_obj.quit()

```

Answer: 
In the CSS that you apply to your div, add:

```
display:none;

```

So the div will be loaded but invisible. When you need to you it, you can do as you are doing now
Just add hidden attribute to your div and it should fix your problem then remove it by javascript when you want to show it