I was not able to send any emails, don’t know that happens, everything is fine few day before but now i try sending emails it not sending. This only happens when I’m sending mails to gmail.Please help me out
You’ll need to use a relay service, such as Amazon SES, Mailgun, Mailjet, Sendgrid, whatever. There are dozens of them. They mostly have a free or cheap tier.
I connect using one of my domain does it works connecting to port 25? I’m not familer with this commands, If still the same issue we can close this forum
If you were sending mails before, you had port 25. As I said in my first reply, either Google or your host has blocked you from sending. They do that if they see abuse from your IP.
You can determine if it was your host or Google specifically by testing other mail servers on the internet using the same method you used to find out Google is blocking you (telnet hostname 25 and see if it times out or issues a greeting).
Is that a hostname on the internet (i.e. not one on the same server)? If so, then it may only be Google that is blocking you. Why they’re blocking you is unknown to me, but presumably it’s because of spam/abuse from your IP.