Email doesn't work | HTTP ERROR 500

Hello!

I made an topic a long time ago earlier about the mail not working, now I have a new problem!

I tried to reset an password with a test-customer email account that is hosted on hotmail

When I tried to set SMTP with the correct settings, it gave me this error:

SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Now I tried SendMail:

HTTP ERROR 500

Then I tried PHP Mail:

HTTP ERROR 500


I was searching for an error log, I only found one that was created, so I’ll just put it here:

ERROR - 2016-07-21 11:07:46 --> Severity: Notice  --> Undefined index: HTTPS /home/justiru84/domains/mydomain.com/public_html/dashboard/application/modules/setup/views/complete.php 21
ERROR - 2016-07-21 11:08:20 --> Could not find the language line ""
ERROR - 2016-07-21 11:08:20 --> Could not find the language line ""
ERROR - 2016-07-21 11:14:58 --> Severity: Warning  --> stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known /home/justiru84/domains/mydomain.com/public_html/dashboard/application/modules/mailer/helpers/phpmailer/class.smtp.php 283
ERROR - 2016-07-21 11:14:58 --> Severity: Warning  --> stream_socket_client(): unable to connect to ssl://mail.axc.nl:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known) /home/justiru84/domains/mydomain.com/public_html/dashboard/application/modules/mailer/helpers/phpmailer/class.smtp.php 283
ERROR - 2016-07-21 11:15:26 --> Severity: Notice  --> Undefined property: CI::$email /home/justiru84/domains/mydomain.com/public_html/dashboard/application/third_party/MX/Controller.php 58
ERROR - 2016-07-21 11:15:40 --> Severity: Notice  --> Undefined property: CI::$email /home/justiru84/domains/mydomain.com/public_html/dashboard/application/third_party/MX/Controller.php 58
ERROR - 2016-07-21 11:16:08 --> Severity: Notice  --> Undefined property: CI::$email /home/justiru84/domains/mydomain.com/public_html/dashboard/application/third_party/MX/Controller.php 58
ERROR - 2016-07-21 11:16:08 --> 404 Page Not Found --> 
ERROR - 2016-07-21 11:16:52 --> Severity: Notice  --> Undefined property: CI::$email /home/justiru84/domains/mydomain.com/public_html/dashboard/application/third_party/MX/Controller.php 58

I run this on a DirectAdmin server, with an subdomain. Is that the error?


Let me know! Thanks!

- Justin

Anyone that knows something? Please?

(btw it sends bcc’s to my own email (that is on the same email server, it ain’t a problem that the mail servers don’t work, because when I send en email manually it just works).

- Justin

leave it on the php mail dont try to setup it work fine

I have set is to PHP Mail
but when sending the mail.
I get the error

De pagina op plexflix.publicvm.com werkt niet

plexflix.publicvm.com kan dit verzoek momenteel niet verwerken.
HTTP ERROR 500

my installation is a ubuntu apache server
message on the ubuntu server when checking apache log
sh: 1: /usr/sbin/sendmail: not found

This is the problem. Either install and set up Sendmail , use PHP Mail or use an SMTP server.

I installed ssmtp and left it on PHP mail.
its working now. but the from user is : www-data
why is that? is it possible to change that?