I am try to send Email via outlook SMTP

aliraza

New member
Joined
Feb 15, 2022
Messages
9
Hi Guys,

I am new to this forum. I have installed DiractAdmin few days ago all is working well but it seems now i am not able to connect with outlook SMTP server this is what i am receiving when trying to send email

1644933245594.png

Please help me to solve this issue

Thanks is advance
 
Seems you're not using your own server but office365 for e-mail.

Check the MX page on your domain, some settings might be needed to change, see my answer here:
 
Seems you're not using your own server but office365 for e-mail.

Check the MX page on your domain, some settings might be needed to change, see my answer here:
Thanks for the reply let me take a look at this
 
if i want to create my own nameservers i need to add following details in childname servers, Am i right?

ns1.example.com IP ADRESSS
ns2.example.com IP ADRESSS
server.example.com IP ADRESSS

server.example.com for hostname
 
childname servers ? you mean Parentname servers ?

Yes but server.example.com IP ADRESSS is added in DNS and not in NS , also in rDNS
Read some tutorials before diving herein
 
Godaddy helped me for this bu they have added server.example.com in hosts like below screenhost, is it will work

1644937680329.png
 
Seems you're not using your own server but office365 for e-mail.

Check the MX page on your domain, some settings might be needed to change, see my answer here:
I am trying to send email via SMTP and using wordpress SMTP plugin for this, it saying this

Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=`server.codfin.com' did not match expected CN=`smtp.office365.com'
 
they have added server.example.com in hosts like below screenhost
Yes that is good. Seems they might use the name "server" for the rDNS record.

and using wordpress SMTP plugin for this
Did you change the MX page correctly? If yes, and if you also changed your nameservers, it can take a few hours to synchronise so it won't work directly.
 
Yes that is good. Seems they might use the name "server" for the rDNS record.


Did you change the MX page correctly? If yes, and if you also changed your nameservers, it can take a few hours to synchronise so it won't work directly.
I have created name servers with examaple.com, but i am trying to send email with ABC.com witch is hosted at crazy domains and I only added A Record to point at server IP address, but i have added MX page at crazy domains do i need to do same for my server to?
 
Please don't quote everything, just use the quick reply box. ;)

No you should only use the Office 365 MX records at the ABC.com domain or where ever you want to send office365 mails from. So that's a per domain setting. You don't need to use that at crazydomains if that does not use office365.
 
Sure will not forget this,

Bu the way for now, I have my old name servers with is already working but same issue with this. I tried to verify my certificate https://www.digicert.com/help/ But seems i have error in TLS certification can you please guide me how i can fix this.
1644941505779.png

here is some server debugging code if it help to understand the issue

1644941595624.png
 
It seem i made some improvement, after follow this article my error changed, please find error below.

Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

I hope this can help more
 
You have to wait to begin with, check this:
all kind of things are off now and even an MX record could not be found.
Just wait first until things in DNS work properly, that will not be in 15 minutes, it can take up a few hours.

After that, check again.
 
your NS settings are messed up:

Name Servers Have A Records

FAIL: While reading domain NS records at parent name servers, we found name servers without A records.
  • --
    ns1.codfin.com. → ?
  • United States
    ns1.dns-parking.com. → 162.159.24.201
  • --
    ns2.codfin.com. → ?
  • United States
    ns2.dns-parking.com. → 162.159.25.42
  • United States
    server.codfin.com. → 149.28.129.69
To reach your name servers via IPv4 an A record is needed for each name server.
 
Back
Top