[Mahara-contributors] [Bug 795589] Re: Couldn't send email to user
Hi Michael, Is that the same configuration that you use for Moodle? In particular, do you use SSL or TLS to connect to your mail server? Is it on port 25? Cheers, Francois -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/795589 Title: Couldn't send email to user Status in Mahara ePortfolio: Incomplete Bug description: Mahara v1.4rc4 Linux 2.6.26-2 PHP 5.2.6 Apache-Server 2.2.9 Postgresql-Server 8.4 The mahara-installation can not send any emails, see the output of the notifications: --- exception 'EmailException' with message 'Couldn't send email to user with subject Mahara: ... Error from phpmailer was: SMTP Error: Could not authenticate.' in /var/www/mahara/lib/user.php:457 Stack trace: #0 /var/www/mahara/notification/email/lib.php(97): email_user(Object(stdClass), NULL, 'Mahara', '...', NULL, NULL) #1 [internal function]: PluginNotificationEmail::notify_user(Object(stdClass), Object(stdClass)) #2 /var/www/mahara/lib/mahara.php(1184): call_user_func_array(Array, Array) #3 /var/www/mahara/lib/activity.php(462): call_static_method('PluginNotificat...', 'notify_user', Object(stdClass), Object(stdClass)) #4 /var/www/mahara/lib/activity.php(489): ActivityType-notify_user(Object(stdClass)) #5 /var/www/mahara/lib/activity.php(82): ActivityType-notify_users() #6 /var/www/mahara/lib/activity.php(50): handle_activity(Object(stdClass), Object(stdClass)) #7 /var/www/mahara/lib/institution.php(289): activity_occurred('institutionmess...', Object(stdClass)) #8 /var/www/mahara/admin/users/institutionusers.php(203): Institution-inviteUser(9) #9 [internal function]: institutionusers_submit(Object(Pieform), Array) #10 /var/www/mahara/lib/pieforms/pieform.php(512): call_user_func_array('institutionuser...', Array) #11 /var/www/mahara/lib/pieforms/pieform.php(161): Pieform-__construct(Array) #12 /var/www/mahara/lib/pieforms/pieform.php(71): Pieform::process(Array) #13 /var/www/mahara/admin/users/institutionusers.php(143): pieform(Array) #14 {main} --- Is it a bug or a miss-configuration of the server? Thank`s and glad about any answers. michael To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/795589/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
Re: [Mahara-contributors] [Bug 795589] Re: Couldn't send email to user
Hello François, here the mail configuration that I put in the mahara config.php: $cfg-emailcontact = 'my-email-adress'; $cfg-smtphosts = 'my-smtp-mailout-server'; $cfg-smtpuser = 'my-user-name'; $cfg-smtppass = 'my-password'; $cfg-smtpport = 25; $cfg-smtpsecure = ''; Thank you for the help! michael -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/795589 Title: Couldn't send email to user Status in Mahara ePortfolio: Incomplete Bug description: Mahara v1.4rc4 Linux 2.6.26-2 PHP 5.2.6 Apache-Server 2.2.9 Postgresql-Server 8.4 The mahara-installation can not send any emails, see the output of the notifications: --- exception 'EmailException' with message 'Couldn't send email to user with subject Mahara: ... Error from phpmailer was: SMTP Error: Could not authenticate.' in /var/www/mahara/lib/user.php:457 Stack trace: #0 /var/www/mahara/notification/email/lib.php(97): email_user(Object(stdClass), NULL, 'Mahara', '...', NULL, NULL) #1 [internal function]: PluginNotificationEmail::notify_user(Object(stdClass), Object(stdClass)) #2 /var/www/mahara/lib/mahara.php(1184): call_user_func_array(Array, Array) #3 /var/www/mahara/lib/activity.php(462): call_static_method('PluginNotificat...', 'notify_user', Object(stdClass), Object(stdClass)) #4 /var/www/mahara/lib/activity.php(489): ActivityType-notify_user(Object(stdClass)) #5 /var/www/mahara/lib/activity.php(82): ActivityType-notify_users() #6 /var/www/mahara/lib/activity.php(50): handle_activity(Object(stdClass), Object(stdClass)) #7 /var/www/mahara/lib/institution.php(289): activity_occurred('institutionmess...', Object(stdClass)) #8 /var/www/mahara/admin/users/institutionusers.php(203): Institution-inviteUser(9) #9 [internal function]: institutionusers_submit(Object(Pieform), Array) #10 /var/www/mahara/lib/pieforms/pieform.php(512): call_user_func_array('institutionuser...', Array) #11 /var/www/mahara/lib/pieforms/pieform.php(161): Pieform-__construct(Array) #12 /var/www/mahara/lib/pieforms/pieform.php(71): Pieform::process(Array) #13 /var/www/mahara/admin/users/institutionusers.php(143): pieform(Array) #14 {main} --- Is it a bug or a miss-configuration of the server? Thank`s and glad about any answers. michael To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/795589/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
Re: [Mahara-contributors] [Bug 795589] Re: Couldn't send email to user
Hello François, I worked through the five points in Troubleshooting-Site wich talks about the SMTP-error. But I couldn't find any misconfiguration, I think. I have the same mail-configuration for moodle and it works without any problems. Is the reason maybe for the error that I am using https? Thank you for your help, michael Am 12.06.2011 03:52, schrieb François Marier: Have a look at this page: https://wiki.mahara.org/index.php/System_Administrator's_Guide/Installing_Mahara/Troubleshooting and search for the question that talks about SMTP. -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/795589 Title: Couldn't send email to user Status in Mahara ePortfolio: Invalid Bug description: Mahara v1.4rc4 Linux 2.6.26-2 PHP 5.2.6 Apache-Server 2.2.9 Postgresql-Server 8.4 The mahara-installation can not send any emails, see the output of the notifications: --- exception 'EmailException' with message 'Couldn't send email to user with subject Mahara: ... Error from phpmailer was: SMTP Error: Could not authenticate.' in /var/www/mahara/lib/user.php:457 Stack trace: #0 /var/www/mahara/notification/email/lib.php(97): email_user(Object(stdClass), NULL, 'Mahara', '...', NULL, NULL) #1 [internal function]: PluginNotificationEmail::notify_user(Object(stdClass), Object(stdClass)) #2 /var/www/mahara/lib/mahara.php(1184): call_user_func_array(Array, Array) #3 /var/www/mahara/lib/activity.php(462): call_static_method('PluginNotificat...', 'notify_user', Object(stdClass), Object(stdClass)) #4 /var/www/mahara/lib/activity.php(489): ActivityType-notify_user(Object(stdClass)) #5 /var/www/mahara/lib/activity.php(82): ActivityType-notify_users() #6 /var/www/mahara/lib/activity.php(50): handle_activity(Object(stdClass), Object(stdClass)) #7 /var/www/mahara/lib/institution.php(289): activity_occurred('institutionmess...', Object(stdClass)) #8 /var/www/mahara/admin/users/institutionusers.php(203): Institution-inviteUser(9) #9 [internal function]: institutionusers_submit(Object(Pieform), Array) #10 /var/www/mahara/lib/pieforms/pieform.php(512): call_user_func_array('institutionuser...', Array) #11 /var/www/mahara/lib/pieforms/pieform.php(161): Pieform-__construct(Array) #12 /var/www/mahara/lib/pieforms/pieform.php(71): Pieform::process(Array) #13 /var/www/mahara/admin/users/institutionusers.php(143): pieform(Array) #14 {main} --- Is it a bug or a miss-configuration of the server? Thank`s and glad about any answers. michael To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/795589/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 795589] Re: Couldn't send email to user
Well, based on the error returned by PHP mailer, there is a problem talking to your mail server. Can you paste here the mail configuration that you put in Mahara (minus any passwords or private info of course)? In particular, are you using the right value (ssl or tls) for the smtpsecure parameter? ** Changed in: mahara Status: Invalid = Incomplete ** Changed in: mahara Importance: Undecided = Medium -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/795589 Title: Couldn't send email to user Status in Mahara ePortfolio: Incomplete Bug description: Mahara v1.4rc4 Linux 2.6.26-2 PHP 5.2.6 Apache-Server 2.2.9 Postgresql-Server 8.4 The mahara-installation can not send any emails, see the output of the notifications: --- exception 'EmailException' with message 'Couldn't send email to user with subject Mahara: ... Error from phpmailer was: SMTP Error: Could not authenticate.' in /var/www/mahara/lib/user.php:457 Stack trace: #0 /var/www/mahara/notification/email/lib.php(97): email_user(Object(stdClass), NULL, 'Mahara', '...', NULL, NULL) #1 [internal function]: PluginNotificationEmail::notify_user(Object(stdClass), Object(stdClass)) #2 /var/www/mahara/lib/mahara.php(1184): call_user_func_array(Array, Array) #3 /var/www/mahara/lib/activity.php(462): call_static_method('PluginNotificat...', 'notify_user', Object(stdClass), Object(stdClass)) #4 /var/www/mahara/lib/activity.php(489): ActivityType-notify_user(Object(stdClass)) #5 /var/www/mahara/lib/activity.php(82): ActivityType-notify_users() #6 /var/www/mahara/lib/activity.php(50): handle_activity(Object(stdClass), Object(stdClass)) #7 /var/www/mahara/lib/institution.php(289): activity_occurred('institutionmess...', Object(stdClass)) #8 /var/www/mahara/admin/users/institutionusers.php(203): Institution-inviteUser(9) #9 [internal function]: institutionusers_submit(Object(Pieform), Array) #10 /var/www/mahara/lib/pieforms/pieform.php(512): call_user_func_array('institutionuser...', Array) #11 /var/www/mahara/lib/pieforms/pieform.php(161): Pieform-__construct(Array) #12 /var/www/mahara/lib/pieforms/pieform.php(71): Pieform::process(Array) #13 /var/www/mahara/admin/users/institutionusers.php(143): pieform(Array) #14 {main} --- Is it a bug or a miss-configuration of the server? Thank`s and glad about any answers. michael To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/795589/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 795589] Re: Couldn't send email to user
Have a look at this page: https://wiki.mahara.org/index.php/System_Administrator's_Guide/Installing_Mahara/Troubleshooting and search for the question that talks about SMTP. -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/795589 Title: Couldn't send email to user Status in Mahara ePortfolio: Invalid Bug description: Mahara v1.4rc4 Linux 2.6.26-2 PHP 5.2.6 Apache-Server 2.2.9 Postgresql-Server 8.4 The mahara-installation can not send any emails, see the output of the notifications: --- exception 'EmailException' with message 'Couldn't send email to user with subject Mahara: ... Error from phpmailer was: SMTP Error: Could not authenticate.' in /var/www/mahara/lib/user.php:457 Stack trace: #0 /var/www/mahara/notification/email/lib.php(97): email_user(Object(stdClass), NULL, 'Mahara', '...', NULL, NULL) #1 [internal function]: PluginNotificationEmail::notify_user(Object(stdClass), Object(stdClass)) #2 /var/www/mahara/lib/mahara.php(1184): call_user_func_array(Array, Array) #3 /var/www/mahara/lib/activity.php(462): call_static_method('PluginNotificat...', 'notify_user', Object(stdClass), Object(stdClass)) #4 /var/www/mahara/lib/activity.php(489): ActivityType-notify_user(Object(stdClass)) #5 /var/www/mahara/lib/activity.php(82): ActivityType-notify_users() #6 /var/www/mahara/lib/activity.php(50): handle_activity(Object(stdClass), Object(stdClass)) #7 /var/www/mahara/lib/institution.php(289): activity_occurred('institutionmess...', Object(stdClass)) #8 /var/www/mahara/admin/users/institutionusers.php(203): Institution-inviteUser(9) #9 [internal function]: institutionusers_submit(Object(Pieform), Array) #10 /var/www/mahara/lib/pieforms/pieform.php(512): call_user_func_array('institutionuser...', Array) #11 /var/www/mahara/lib/pieforms/pieform.php(161): Pieform-__construct(Array) #12 /var/www/mahara/lib/pieforms/pieform.php(71): Pieform::process(Array) #13 /var/www/mahara/admin/users/institutionusers.php(143): pieform(Array) #14 {main} --- Is it a bug or a miss-configuration of the server? Thank`s and glad about any answers. michael To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/795589/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 795589] Re: Couldn't send email to user
** Changed in: mahara Status: New = Invalid -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/795589 Title: Couldn't send email to user Status in Mahara ePortfolio: Invalid Bug description: Mahara v1.4rc4 Linux 2.6.26-2 PHP 5.2.6 Apache-Server 2.2.9 Postgresql-Server 8.4 The mahara-installation can not send any emails, see the output of the notifications: --- exception 'EmailException' with message 'Couldn't send email to user with subject Mahara: ... Error from phpmailer was: SMTP Error: Could not authenticate.' in /var/www/mahara/lib/user.php:457 Stack trace: #0 /var/www/mahara/notification/email/lib.php(97): email_user(Object(stdClass), NULL, 'Mahara', '...', NULL, NULL) #1 [internal function]: PluginNotificationEmail::notify_user(Object(stdClass), Object(stdClass)) #2 /var/www/mahara/lib/mahara.php(1184): call_user_func_array(Array, Array) #3 /var/www/mahara/lib/activity.php(462): call_static_method('PluginNotificat...', 'notify_user', Object(stdClass), Object(stdClass)) #4 /var/www/mahara/lib/activity.php(489): ActivityType-notify_user(Object(stdClass)) #5 /var/www/mahara/lib/activity.php(82): ActivityType-notify_users() #6 /var/www/mahara/lib/activity.php(50): handle_activity(Object(stdClass), Object(stdClass)) #7 /var/www/mahara/lib/institution.php(289): activity_occurred('institutionmess...', Object(stdClass)) #8 /var/www/mahara/admin/users/institutionusers.php(203): Institution-inviteUser(9) #9 [internal function]: institutionusers_submit(Object(Pieform), Array) #10 /var/www/mahara/lib/pieforms/pieform.php(512): call_user_func_array('institutionuser...', Array) #11 /var/www/mahara/lib/pieforms/pieform.php(161): Pieform-__construct(Array) #12 /var/www/mahara/lib/pieforms/pieform.php(71): Pieform::process(Array) #13 /var/www/mahara/admin/users/institutionusers.php(143): pieform(Array) #14 {main} --- Is it a bug or a miss-configuration of the server? Thank`s and glad about any answers. michael To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/795589/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 795589] Re: Couldn't send email to user
Hello wuttke, It looks like misconfiguration for me, I have just tested messaging on 1.4_STABLE and it works fine. Check that you have specified correct credentials in Configure Site - Site options. I guess you get that output from the admin message? -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/795589 Title: Couldn't send email to user Status in Mahara ePortfolio: Invalid Bug description: Mahara v1.4rc4 Linux 2.6.26-2 PHP 5.2.6 Apache-Server 2.2.9 Postgresql-Server 8.4 The mahara-installation can not send any emails, see the output of the notifications: --- exception 'EmailException' with message 'Couldn't send email to user with subject Mahara: ... Error from phpmailer was: SMTP Error: Could not authenticate.' in /var/www/mahara/lib/user.php:457 Stack trace: #0 /var/www/mahara/notification/email/lib.php(97): email_user(Object(stdClass), NULL, 'Mahara', '...', NULL, NULL) #1 [internal function]: PluginNotificationEmail::notify_user(Object(stdClass), Object(stdClass)) #2 /var/www/mahara/lib/mahara.php(1184): call_user_func_array(Array, Array) #3 /var/www/mahara/lib/activity.php(462): call_static_method('PluginNotificat...', 'notify_user', Object(stdClass), Object(stdClass)) #4 /var/www/mahara/lib/activity.php(489): ActivityType-notify_user(Object(stdClass)) #5 /var/www/mahara/lib/activity.php(82): ActivityType-notify_users() #6 /var/www/mahara/lib/activity.php(50): handle_activity(Object(stdClass), Object(stdClass)) #7 /var/www/mahara/lib/institution.php(289): activity_occurred('institutionmess...', Object(stdClass)) #8 /var/www/mahara/admin/users/institutionusers.php(203): Institution-inviteUser(9) #9 [internal function]: institutionusers_submit(Object(Pieform), Array) #10 /var/www/mahara/lib/pieforms/pieform.php(512): call_user_func_array('institutionuser...', Array) #11 /var/www/mahara/lib/pieforms/pieform.php(161): Pieform-__construct(Array) #12 /var/www/mahara/lib/pieforms/pieform.php(71): Pieform::process(Array) #13 /var/www/mahara/admin/users/institutionusers.php(143): pieform(Array) #14 {main} --- Is it a bug or a miss-configuration of the server? Thank`s and glad about any answers. michael To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/795589/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp