First off sorry for the late reply i was in a lil vacation
the mail function uses the following email addresses:
1- email to: that’s where you will receive the sent messages
2- email from: that’s from where the email has been sent or suppose to be
3- the actual email address of who sent you the message ( the one he or she filled in contact form)
you ask me about the email from:
this is an email which will be shown as the sender’s email address
why i have a field to set it and why i set it to be from the same domain you installed the wordpress???
this will likely make your message goes to the mail inbox not the spam box
because the message is sent from your server and the email address which send the email address is at the same domain so it will likely a legitimate email not a spam