<p>It could be your server blocks outgoing mail on the default port (25). Try port 587 instead.</p>

CC BY-SA 3.0
2015-06-26T19:15:44.330Z
Thanks, Bob.  I did use 587, but no luck
Roi Agneta
CC BY-SA 3.0
2015-06-26T18:29:44.467Z
2015-06-26T18:29:44.467Z
Bob Olde Hampsink
<p>I have a client who uses Office 365 for email.  Using the basic phpMail config in Craft fails when I try to direct an email to any of the clients email addresses, including user registration and, more importantly, when sending a message from the Contact Form plugin.</p>

<p>I have tried in vain to change the Craft email settings to SMTP, using credentials that have been tested with a desktop email client.  I am sure there is something I am missing, e.g. some server config thing.</p>

<p>Any advice would be greatly appreciated!</p>

<p>Roi</p>

CC BY-SA 3.0
2015-06-27T01:04:48.993Z
What do you mean if fails?  Are you getting an error message or are they just not receiving the email? Or are you trying to use Office 365 as the SMTP server to relay?
Brad Bell
CC BY-SA 3.0
2015-06-28T17:24:17.427Z
Getting an error.  I think the problem is rooted in the fact that the client's hosting account (Bluehost) is on a shared IP and, therefore, does not have access to "certain server features".  I set up the exact same scenario on my site (hosted by Arcustech) and it works fine.
Roi Agneta
<plugin-contactform><settings>
Help Understanding Craft Email Settings
# Help Understanding Craft Email Settings

(Asked by: username_0 on 2015-06-26)

I have a client who uses Office 365 for email. Using the basic phpMail config in Craft fails when I try to direct an email to any of the clients email addresses, including user registration and, more importantly, when sending a message from the Contact Form plugin.

I have tried in vain to change the Craft email settings to SMTP, using credentials that have been tested with a desktop email client. I am sure there is something I am missing, e.g. some server config thing.

Any advice would be greatly appreciated!

Roi

**Tags:** plugin-contactform, settings
> **Comments:**
> **username_1**: What do you mean if fails?  Are you getting an error message or are they just not receiving the email? Or are you trying to use Office 365 as the SMTP server to relay?  
> **username_0**: Getting an error.  I think the problem is rooted in the fact that the client's hosting account (Bluehost) is on a shared IP and, therefore, does not have access to "certain server features".  I set up the exact same scenario on my site (hosted by Arcustech) and it works fine.  

---

## 1 answers

### Answer by username_2 on 2015-06-26. Score: 1

It could be your server blocks outgoing mail on the default port (25). Try port 587 instead.

> **Comments:**
> **username_0**: Thanks, Bob.  I did use 587, but no luck  

---

