[Smtp Issue] With Outlook [Resolved!] ✔





-------------------------------------------------------------------------

[RESOLVED]


  1. Open the app/Tygh/Mailer.php file of your CS-Cart installation.
  2. Add this line:
self::$_mailer->SMTPSecure = 'tls';
```<br />
<br />
after this one:<br />
```php
self::$_mailer->Password = $mailer_settings['mailer_smtp_password'];
```<br />
<br />
Save the file and clear cache! <img src="upload://oPnLkqdJc33Dyf2uA3TQwRkfhwd.gif" class="bbc_emoticon" alt="8)"><br />
[u]Thanks Cs-cart team! [/u]<br />
-------------------------------------------------------------------------<br />
<br />
<br />
 <br />
[center]```php
<br />
Outgoing (SMTP) Server<br />
Server address: smtp-mail.outlook.com<br />
Port: 25 (or 587 if 25 is blocked)<br />
Authentication: Yes<br />
Encrypted Connection: TLS<br />
User name: Your email address<br />
Password: Your password<br />

```[/center]<br />
[url="http://windows.microsoft.com/en-us/windows/outlook/send-receive-from-app"]![](upload://yKDyegrrJHWUMzJBOoGOg9prFxF.gif) info[/url]<br />
<br />
But I'm getting this error:<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
[right]![](upload://chPmegp5AyvZohyKBloS54ld7OD.png)[/right]<br />
<br />
<br />
This is the problem: [url="http://forum.cs-cart.com/tracker/issue-5144-smtp-with-outlook-doesnt-work-in-415/"]CS-Cart Bug tracker[/url]<br />
Seems that here in [url="http://forum.cs-cart.com/topic/35060-smtp-office-365/page__fromsearch__1"]this thread[/url]  is resolved something similar.<br />
Someone could give me a hand with it please?<br />
<br />
[color=#ffffff].[/color]

try :[list]

[]Outlook.com SMTP server address: smtp.live.com

[
]Outlook.com SMTP user name: Your full Outlook.com email address (not an alias)

[]Outlook.com SMTP password: Your Outlook.com password

[
]Outlook.com SMTP port: 587

[*]Outlook.com SMTP TLS/SSL encryption required:yes

[/list]

Thanks TheeDragon, but doesn’t work:



Have you tried everything here?



[url=“Add your Outlook.com account to another mail app or smart device”]http://windows.microsoft.com/en-us/windows/outlook/send-receive-from-app[/url]

Hi I recently had this error, try:



Method of sending e-mails: Via PHP mail function



it solved it for me.



Regards,

Tony

[quote name=‘zeero6’ timestamp=‘1405372496’ post=‘187526’]

Have you tried everything here?



http://windows.micro…eceive-from-app

[/quote]

Yeah. everything possible I’ve tried. always the same error.

I have the link of this page under de code: " info "


[quote name=‘Tonybn’ timestamp=‘1405375289’ post=‘187527’]

Hi I recently had this error, try:

Method of sending e-mails: Via PHP mail function

it solved it for me.

Regards,

Tony

[/quote]

Thanks Tony. but doesn’t work yet to me :confused:

what emails are you trying to send ?

maybe you can step back are look 'outside' the box ?

[RESOLVED]



The solution is in the first post. thanks TheeDragon, zeero6, Tonybn and Cs-cart team! 8)

But these type of settings should be in the administrative interface. You shouldn't have to modify a PHP clas in order to configure the mail agent to interface with common connection methods.

[quote name='tbirnseth' timestamp='1405646667' post='187755']

But these type of settings should be in the administrative interface. You shouldn't have to modify a PHP clas in order to configure the mail agent to interface with common connection methods.

[/quote]



Yes, as I said in the bugtracker: [color=#282828][font=arial, verdana, tahoma, sans-serif][size=3]how come 100 free wordpress plugins can configure smtp (gmail. outlook, and so on) by just filling out 3 fields and a checkmark, and is this virtually impossible to configure in cs-cart?[/size][/font][/color]

and they charge 30 credits in my account to give me this solution…

I don't know why if some user have a problem with this software and is problem related of cscart…

why I need to pay for it? If I discover a bug… I need to pay for fix it?



This is cscart…

If it was a bug, then you shouldn't be charged at all.

You should be asking this question of the helpdesk from the same ticket that was opened for the problem.

I will, thank you tbirnseth!

hy master i have same problem, I've tried smtp and phpmailer methods but still my website can not send email to the customer what is the problem please help

You'll need to provide more info on your setups to help you.

Also, you should have your hosting review the mail logs for your site and smtp server to see what they see there.