Send email via domain

Hi , i want to ask that is there any way that how can we send an email via a domain in Virtualmin.
for example
if we a domain on virtualmin “” i want to send an email from
so email will be sent from but will show in inbox like this .
from : via