OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



I want to receive email notification when a user regiter

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

I want to receive email notification when a user regiter

Postby tarkhorani » Mon Jun 18, 2007 3:07 am

I want to receive email notification when a user regiter ; where I must setup this?
tarkhorani
 
Posts: 91
Joined: Fri May 18, 2007 6:30 am

Postby asmecher » Mon Jun 18, 2007 9:58 am

Hi tarkhorani,

There's currently no option to do this, but if you want to be BCC'd on the user's registration email, you can add a line something like:
Code: Select all
$mail->addBcc('my-address@the-journal-url.com');
...around line 258 of classes/user/form/RegistrationForm.inc.php, just below the line that sets the recipient of the welcome message:
Code: Select all
$mail->addRecipient($user->getEmail(), $user->getFullName());
Regards,
Alec Smecher
Public Knowledge Project Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby tarkhorani » Tue Jun 19, 2007 11:40 pm

ok it works but show this is email :
From INVALID_ADDRESS@.SYNTAX-ERROR
tarkhorani
 
Posts: 91
Joined: Fri May 18, 2007 6:30 am

Postby asmecher » Wed Jun 20, 2007 9:32 am

Hi tarkhorani,

Interesting... Did you use your own address (e.g. something@yahoo.com) in place of the example above? Could you PM me the message, including full headers?

Regards,
Alec Smecher
Public Knowledge Project Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests