The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/printthread.php(287) : eval()'d code 2 errorHandler->error
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



UserSpice
Failed to send email (admin if sent) - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Failed to send email (admin if sent) (/showthread.php?tid=263)

Pages: 1 2


Failed to send email (admin if sent) - GePraxa - 09-12-2016

I have correctly configured the Email from "email_test.php" mail is sent correctly, but can not send it in the following pages:

forgot_password.php
verify_resend.php

Any idea what's going on?


Failed to send email (admin if sent) - mudmin - 09-12-2016

Are you on 4.1.5? I just pushed an update that fixed some bugs on those two pages.


Failed to send email (admin if sent) - brian - 09-12-2016

Have you configured the SMTP server settings?


Failed to send email (admin if sent) - GePraxa - 09-13-2016

If I am in 4.1.5.
If configure SMTP from admin if you send mail to perform the test, but from the pages mentioned no.

I have understood that if the test passes from the administration panel should not fail elsewhere ...?


Failed to send email (admin if sent) - brian - 09-13-2016

What errors are you getting? You are saying that the test on the admin settings works fine?


Failed to send email (admin if sent) - GePraxa - 09-14-2016

Yes, I'm saying, it works well in test administration.

The error: The mail could not be delivered, please contact the administrator.

This only happens from a user. In the admin it works well.


Failed to send email (admin if sent) - plb - 09-19-2016

To clarify, if you are logged in as administrator then you can send email on all pages? But if you are logged in as a normal user (not administrator) then you get this error when you try to send an email?

What OS are you using and what configuration for email?


Failed to send email (admin if sent) - venedude - 10-15-2016

I'm having the same issue, 4.1.5, when I login with built-in "admin" account I can get to send test email page and everything works. When I login as other user I get an error when registering and can't get to test email page, even if user has Administrator role assigned.


Failed to send email (admin if sent) - venedude - 10-15-2016

email_test.php has the code below, I guess that is why it only works with admin account. Safe to remove? How would I modify user ID check to maybe Administrator group membership?

<pre>
Code:
<?php if($user->data()->id != 1){
  Redirect::to('account.php');
}
</pre>


Still trying to hunt down why registration verify fails to send email...


Failed to send email (admin if sent) - mudmin - 10-15-2016

That's on purpose...only allowing the absolute main system admin to send test emails. You can totally comment that out if you want. It was actually put there so people don't send spam from the userspice demo site Smile