Topic on Extension talk:ConfirmAccount

Error sending mail: Unknown error in PHP's mail() function.

1
114.39.254.121 (talkcontribs)

For qnap users the following solution

tested on

Model:TS-459 Pro+

firmware version:4.2.1

Enable GOOGLE email[edit]

Check Installation PEAR type

# [/] pear

response ==>

Commands:

build                  Build an Extension From C Source

bundle                 Unpacks a Pecl Package

channel-add            Add a Channel

...........

If -sh: pear: command not found perform the following

# [/] ipkg update

# [/] ipkg install php-pear

modify qnap php.ini file ( Applications/Web server/php.ini maintenance)

include_path = ".:/etc/config/php:/opt/share/pear"

add in localsettings.php

$wgSMTP = array(

'host' => 'ssl://smtp.gmail.com',

'IDHost' => 'qbox4u.com', ( or whatever side you have )

'port' => 465,

'username' => 'qbox4u@gmail.com', ( or whatever email you have )

'password' => 'xxxxxxxxxxxxxxxxx',

'auth' => true

);

Read also ==> http://pear.php.net/manual/en/installation.checking.php

# [/] pear install Mail-1.3.0

# [/] pear install Net_SMTP

whenever you get now an bunch of errors,

check/modify your google settings https://www.google.com/settings/security/lesssecureapps

set Access for less secure apps==> Turn on

Kind regards

qbox4u.com

qbox.ddns.net

Reply to "Error sending mail: Unknown error in PHP's mail() function."