WebSite X5Help Center

 
Bjorn Andreassen
Bjorn Andreassen
User

Office 365 and web mail  en

Autor: Bjorn Andreassen
Visitado 1762, Seguidores 1, Compartilhado 0  

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

See pic.

Publicado em
10 RESPOSTAS
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!

Ler mais
Publicado em de Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Autor

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

Ler mais
Publicado em de 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!

Ler mais
Publicado em de Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Autor

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.

Ler mais
Publicado em de Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Autor

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

Ler mais
Publicado em de Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Autor

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

See attachment.

Ler mais
Publicado em de Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Autor

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

Ler mais
Publicado em de 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!

Ler mais
Publicado em de Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Autor

Now One.com works fine but not O365.

Ler mais
Publicado em de 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!

Ler mais
Publicado em de Claudio D.