WebSite X5Help Center

 
Bjorn Andreassen
Bjorn Andreassen
User

Office 365 and web mail  en

Author: Bjorn Andreassen
Visited 1889, Followers 1, Shared 0  

Someone who can explain how to set up Office 365 to send email from web server?

See pic.

Posted on the
10 ANSWERS
Incomedia
Claudio D.
Incomedia

Hello Bjorn,

You need to use the STMP data you find on https://support.office.com/en-us/article/How-to-set-up-a-multifunction-device-or-application-to-send-email-using-Office-365-69f58e99-c550-4274-ad18-c805d654b4c4

Server/smart host = smtp.office365.com

Port = Port 587 (recommended) or port 25

TLS/ StartTLS = Enabled

Username/email address and password = Enter the sign in credentials of the hosted mailbox being used

Many thanks!

Read more
Posted on the from Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Author

It does not work with smtp.office365.com either.

Read more
Posted on the from Bjorn Andreassen
Incomedia
Claudio D.
Incomedia

Hello Bjorn,

In this case try to open the admin section of the website and there go to the test section and test the smtp email script by entering the SMTP data and check which error message you receive to see on what it depends.

Many thanks!

Read more
Posted on the from Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Author

I got this error:

[2017-09-25 10:34:53] SMTP connect() failed.

I have tested with a new account and I got same error. See attachment.

Read more
Posted on the from Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Author

I have tested this on 2 different projects and get the same error on both.

Read more
Posted on the from Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Author

New info. The test says PASS, but neither sender nor user receives any e-mail.

See attachment.

Read more
Posted on the from Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Author

If I use PHPMailer the email i mark SPAM, so I need to use Authenticated SMTP.

Read more
Posted on the from Bjorn Andreassen
Incomedia
Claudio D.
Incomedia

Hello Bjorn,

With the one.com SMTP address are you using the domain email or another one?

In case of authenticated SMTP you need to use the correct logins for the email account you want to use. As example with the one.com authenticated SMTP you cannot use a microsoft or gmail email.

Many thanks!

Read more
Posted on the from Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Author

Now One.com works fine but not O365.

Read more
Posted on the from Bjorn Andreassen
Incomedia
Claudio D.
Incomedia

Hello Bjorn,

In this case I suggest you to use one.com since it is working.

For Office 365 I would suggest to contact the supporto of office to ask which are the correct smtp data to use in case you want to send emails from the website with smtp authentication.

Many thanks!

Read more
Posted on the from Claudio D.