WebSite X5Help Center

 
Bjorn Andreassen
Bjorn Andreassen
User

Office 365 and web mail  en

Autore: Bjorn Andreassen
Visite 1893, Followers 1, Condiviso 0  

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

See pic.

Postato il
10 RISPOSTE
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!

Leggi di più
Postato il da Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Autore

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

Leggi di più
Postato il da 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!

Leggi di più
Postato il da Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Autore

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.

Leggi di più
Postato il da Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Autore

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

Leggi di più
Postato il da Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Autore

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

See attachment.

Leggi di più
Postato il da Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Autore

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

Leggi di più
Postato il da 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!

Leggi di più
Postato il da Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Autore

Now One.com works fine but not O365.

Leggi di più
Postato il da 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!

Leggi di più
Postato il da Claudio D.