send email using the virtual mailbox of my company domain

Until now I sent a mail through the application via GMAIL and everything was fine
Now I need to change this and send the email through a virtual mailbox like service@mydomain.com
What are my settings to give so that the sending works for me

it is the previous settings :
EMAIL_BACKEND = ‘django.core.mail.backends.smtp.EmailBackend’

EMAIL_HOST = ‘smtp.gmail.com

EMAIL_PORT = 587

EMAIL_USE_TLS = True

EMAIL_HOST_USER = ‘abcd@gmail.com’

EMAIL_HOST_PASSWORD = ‘mypassword’
now its outlook domain

ok ,
i maked as real mailbox and dont virtual and work fine

What do you mean please?

Few questions:

  1. Is your virtual mail address working outside Django (I mean, are you able to send and recieve mails on the virtual mailbox address using other email clients like Outlook, Evolution, Thunderbird)?
  2. Is this still an issue? I am just realizing this question was asked 6months ago

That user hasn’t been here since March, so I’m guessing that they’re not likely going to see your questions.

My interpretation of the first reply:

Is that they do have it working. (Which is why I didn’t reply to the original messages.)

I do know that gmail requires all sending accounts be registered with the host account, and that its existence be validated. As long as you have the ability to receive emails on that address, you can register virtual accounts. However, gmail will not let you send emails from a “send-only” address.

thank you
As I mentioned I moved it to a regular Outlook account
And not virtual and now it works fine