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
sending email to a user
#2
I'm guessing your system is pretty closed to where it's not a big deal for people to be able to email anyone else in the system.

If you want the email to come from the person who sent the email (as opposed to the system) I would expect a good bit of your emails to go to spam initially. If you want to set some sort of reply-to address in there, you might be able to get by a little better.

The file users/email_test.php has pretty much everything you need to send an email.

So, if you notice, that when you are viewing someone's profile, the page looks like....profile.php?id=2

I've already done the query for you on the profile.php page to get all the info on the user whose profile you're viewing, so
$thatUser->email is the email of the person you're sending to
and
$user->data()->email is the user you're sending from.



  Reply


Messages In This Thread
sending email to a user - by LBC - 11-21-2016, 08:49 AM
sending email to a user - by mudmin - 11-21-2016, 04:54 PM
sending email to a user - by LBC - 11-21-2016, 05:21 PM
sending email to a user - by mudmin - 11-21-2016, 07:23 PM
sending email to a user - by plb - 11-22-2016, 05:32 AM
sending email to a user - by LBC - 11-22-2016, 06:52 AM
sending email to a user - by mudmin - 11-22-2016, 07:17 AM
sending email to a user - by LBC - 11-23-2016, 09:09 AM
sending email to a user - by mudmin - 11-24-2016, 04:20 PM
sending email to a user - by mudmin - 11-24-2016, 04:48 PM
sending email to a user - by LBC - 11-25-2016, 06:46 AM
sending email to a user - by mudmin - 11-25-2016, 01:55 PM
sending email to a user - by mudmin - 11-25-2016, 02:47 PM
sending email to a user - by LBC - 11-29-2016, 07:05 AM
sending email to a user - by LBC - 01-09-2017, 09:31 AM
sending email to a user - by LBC - 01-09-2017, 10:36 AM
sending email to a user - by LBC - 01-09-2017, 11:45 AM
sending email to a user - by mudmin - 01-11-2017, 12:28 AM

Forum Jump:


Users browsing this thread: 6 Guest(s)