WebSite X5Help Center

 
Bjorn Andreassen
Bjorn Andreassen
User

Office 365 and web mail  en

Автор: Bjorn Andreassen
Просмотрено 1760, Подписчики 1, Размещенный 0  

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

See pic.

Размещено
10 Ответы
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!

Читать больше
Размещено От Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Автор

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

Читать больше
Размещено От 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!

Читать больше
Размещено От Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Автор

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.

Читать больше
Размещено От Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Автор

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

Читать больше
Размещено От Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Автор

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

See attachment.

Читать больше
Размещено От Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Автор

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

Читать больше
Размещено От 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!

Читать больше
Размещено От Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Автор

Now One.com works fine but not O365.

Читать больше
Размещено От 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!

Читать больше
Размещено От Claudio D.