Struggling with EMAIL

Have tried everything, cant get email addresses to work at all?

LOGIN command error: BAD [b’Invalid characters in atom’]
or EOF socket

can you tell us what exactly you are tring to do and how did you do it? More context the better

Yes sorry. I was buried at work today and the post was a cry for help.

I was trying to connect my companies domain and it wasn’t working. So I created a domain knowing that it will work with IMAP.

After putting in all the correct settings I just get an error. Everysingle time.

I’ll post screenshots tomorrow

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

calefx@gmail.com
host gmail-smtp-in.l.google.com [173.194.76.27]
SMTP error from remote mail server after end of data:
550-5.7.26 This mail is unauthenticated, which poses a security risk to the
550-5.7.26 sender and Gmail users, and has been blocked. The sender must
550-5.7.26 authenticate with at least one of SPF or DKIM. For this message,
550-5.7.26 DKIM checks did not pass and SPF check for [greenleafas.co.za] did
550-5.7.26 not pass with ip: [197.242.159.25]. The sender should visit
550-5.7.26 Prevent mail to Gmail users from being blocked or sent to spam - Gmail Help for
550 5.7.26 instructions on setting up authentication. l2-20020a5d4802000000b00317820eac2dsi6392283wrq.485 - gsmtp

this is the error i get when i try send a mail