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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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: 8311
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: 8311
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 6 guests