email_text='Dear '+title_dict[contributor.title]+''+contributor.user.last_name+', \n\nYour request for a new email activation link for registration to the SciPost publication portal has been received. You now need to visit this link within the next 48 hours: \n\n'+'https://scipost.org/activation/'+contributor.activation_key+'\n\nYour registration will thereafter be vetted. Many thanks for your interest. \n\nThe SciPost Team.'
emailmessage=EmailMessage('SciPost registration: new email activation link',email_text,'registration@scipost.org',[contributor.user.email,'registration@scipost.org'],reply_to=['registration@scipost.org'])
email_text='Dear '+title_dict[contributor.title]+''+contributor.user.last_name+', \n\nYour registration to the SciPost publication portal has been accepted. You can now login and contribute. \n\nThe SciPost Team.'
email_text='Dear '+title_dict[contributor.title]+''+contributor.user.last_name+', \n\nYour registration to the SciPost publication portal has been turned down, the reason being: '+reg_ref_dict[ref_reason]+'. You can however still view all SciPost contents, just not submit papers, comments or votes. We nonetheless thank you for your interest. \n\nThe SciPost Team.'