We have moved to Github. Please open tickets there.

#4573 closed Feature Request (wontfix)

Email Authentication

Reported by: silverfoxweb Owned by:
Priority: normal Milestone: Needs Review
Component: Invite Friends Version: 1.8 Beta
Severity: critical Keywords:
Cc: brett@… Difficulty:

Description

Hello Brothers.
my Webserver requires authentication for mail system, but in Elgg settings has only email field.
when a user makes the registration, the site can't send the email because the webserver requires the password.
i have added the following information on the .htaccess file

php_flag authmail.debug ON
php_value authmail.port 587
php_value authmail.address no_reply@…
php_value authmail.smtp_account no_reply=silverfoxweb.net
php_value authmail.smtp smtp.silverfoxweb.net
php_value authmail.password '[password]
'

but when a user inveite a friend or like posts or something who requires the email system, he gets the following error

SecurityException Object
(
[message:protected] => Redirecionamento não pode ser determinado devido aos cabeçalhos enviados. Execução interrompida por segurança. Procure por mais informações em http://docs.elgg.org/
[string:Exception:private] => exception 'SecurityException' with message 'Redirecionamento não pode ser determinado devido aos cabeçalhos enviados. Execução interrompida por segurança. Procure por mais informações em http://docs.elgg.org/ ' in /home/silverfoxweb/www/engine/lib/elgglib.php:151
Stack trace:
#0 /home/silverfoxweb/www/mod/likes/actions/likes/add.php(50): forward(-1)
#1 /home/silverfoxweb/www/engine/lib/actions.php(104): include('/home/silverfox...')
#2 /home/silverfoxweb/www/engine/handlers/action_handler.php(20): action('likes/add')
#3 {main}
[code:protected] => 0
[file:protected] => /home/silverfoxweb/www/engine/lib/elgglib.php
[line:protected] => 151
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/silverfoxweb/www/mod/likes/actions/likes/add.php
[line] => 50
[function] => forward
[args] => Array
(
[0] => -1
)

)

[1] => Array
(
[file] => /home/silverfoxweb/www/engine/lib/actions.php
[line] => 104
[args] => Array
(
[0] => /home/silverfoxweb/www/mod/likes/actions/likes/add.php
)

[function] => include
)

[2] => Array
(
[file] => /home/silverfoxweb/www/engine/handlers/action_handler.php
[line] => 20
[function] => action
[args] => Array
(
[0] => likes/add
)

)

)

[previous:Exception:private] =>
)

how can i solve that? or can developers add the password field in configuration menu..
it's an annoying issue.

thanks to all and i'm sorry for my poor english!

Change History (1)

comment:1 Changed 12 months ago by cash

  • Resolution set to wontfix
  • Status changed from new to closed

My guess from what you said is that your hosting provider has turned off php's mail() function. This is what Elgg uses for sending mail. Elgg does not support SMTP natively, but there is a PHPMailer plugin available on the community site that supports this.

Note: See TracTickets for help on using tickets.