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
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
US 4.1.6 Mail not working
#1
I will be gone all day today. If anyone has patches in the form of complete files pasted to pastebin/hastebin, I would love to take a look tonight and get this all sorted out. I obviously have to setup the mail settings and get this worked out. All my apps are intranet, so I never use it.
  Reply
#2
[E-Mail System Working]

--join.php--
http://pastebin.com/snM7CSFg
--forgot_password.php--
http://pastebin.com/UvtwL4Yk
--verify_resend.php--
http://pastebin.com/9daU1k9k
  Reply
#3
You rock. Thank you so much. I've had a rough couple of days and this got me 90{3bc1fe685386cc4c3ab89a3f76566d8931e181ad17f08aed9ad73b30bf28114d} of the way there to get the email system working. Note that views\_email_template_forgot_password.php also needs to have line 15 changed to

Code:
<p><a href="<?php echo $results->verify_url."users/forgot_password_reset.php?email=".$email."&vericode=$vericode&reset=1"; ?>">Reset Password</a></p>

Again. Thank you. This helped tremendously.
  Reply
#4
I don't see a version number anywhere (didn't look thoroughly, though). I assume mine's 4.1.6 since I downloaded this morning from userspice.org. I, too, have email problems. Won't send a test message. The debug info says it can't connect to my SMTP host. I've checked settings several times, and they appear correct. Any suggestions?

Thanks.
  Reply
#5
You can find the version number in the admin panel. The top of the page has the version number in an h1 font. Otherwise, you can look in /users/includes/user_spice_ver.php

If you have anything other than 4.1.7, absolutely update to 4.1.7 since I fixed every known mail issue in that update.

So who are you using as your email provider?
  Reply
#6
Oh, there's the version. Missed it.

Yes, it is 4.1.7. Mail provider is 1&1. The settings all appear correct to me. I've tested successfully with telnet. Also with provider's web mail and two mail clients. I see that the provider's transport protocol is STARTTLS. I tried plugging that into the email table, but no joy. I'm happy to send you the specifics outside the public forum.

Here are the diags:

2016-10-20 10:59:59 Connection: opening to smtp.1and1.com:587, timeout=300, options=array ( )
2016-10-20 11:02:07 SMTP ERROR: Failed to connect to server: Connection timed out (110)
2016-10-20 11:02:07 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/w...leshooting

Any ideas?
  Reply
#7
Don't know if this is significant, but the telnet session AUTH LOGIN required Base64 encoding.
  Reply
#8
What happens if you change the encryption type to ssl and use port 465?
  Reply
#9
From the looks of it, the settings should be
SMTP Server:
smtp.1and1.com

SMTP Port:
465

Email Login/Username:
youraddress@yourdomain.com

Email Password:
••••••••

From Name (For Sent Emails):
Your Name

From Email (For Sent Emails):
youraddress@yourdomain.com

  Reply
#10
Gmail also works fairly well if you do
smtp.gmail.com
587
and full email address. The other benefit is that if you get flagged as a spammer for some reason, you can change it and it doesn't get your domain blacklisted.
  Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)