send mail is not going to outlook mail

in my website, i have to send mail to other mailers where sent mail is going to gmail and yahoo. but it is not received by outlook mail. in other words, when i send mail to yahoo or gmail then it is received successfully but when i send mail to outlook then message on screen in my website shows that it is sent successfully but it is not received by outlook. i have checked junk and spam folders in outlook but mail is not received. please help me. i am using php coding and lamp server.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

You may need to set up SPF records which indicate your droplet is allowed to send email for your domain.

In general, if possible I recommend using a 3rd party SMTP service for small things like this rather than running a mail relay of your own. It is usually much less of a headache. Personally I used SendGrid which allows up to 12000 email sends per month for free.