After setting up my smtp server on a Windows 2012 server r2 on port 587. I tested the email functions by creating a text file labeled email with the following code inside:
From:admin@mydomain.com
to:otheremail@gmail.com
Sunject: Test Email
This is the body
.
- Then I saved the email.txt file.
- Dropped it in the pickup folder inside mailroot.
- After a few seconds the email.txt dissapeared from the pickup folder.
- It appears in the queue folder
- But then disspears from the queue folder
At this point I checked my gmail to see if it was delivered, but there was no mail. So I checked the badmail folder, and of course it was empty.
So my question is what is happening to my email? Is it being delivered? Do I have to make changes to the smtp server to get it to work? Is my email being blocked since it doesnt even show up in my spam folder?
UPDATE 2: Just checked the dropped folder and I've been receiving Delivery Status Notifications (failure) that says:
smtp; 550 5.1.0 Authentication required
What does that mean and what can I do to fix it?
Best Answer
I solved it! I just followed these steps.
Now you should be able to send mail without the error 5.1.0