Index: /WAeUP_SRP/trunk/skins/waeup_student/getMemberInfo.py
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_student/getMemberInfo.py	(revision 3858)
+++ /WAeUP_SRP/trunk/skins/waeup_student/getMemberInfo.py	(revision 3859)
@@ -82,8 +82,11 @@
     app_email = info['app_email'] = student.application.getContent().app_email
     per_email = info['per_email'] = student_record.email
-    if app_email:
+    if per_email:
+        info['email'] = per_email
+    elif app_email:
         info['email'] = app_email
     else:
-        info['email'] = per_email
+        info['email'] = ''
+
     info['message'] = complete_msg % info
     info['with_email'] = bool(info['email'])
Index: /WAeUP_SRP/trunk/skins/waeup_student/retrieve_password.py
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_student/retrieve_password.py	(revision 3858)
+++ /WAeUP_SRP/trunk/skins/waeup_student/retrieve_password.py	(revision 3859)
@@ -14,4 +14,17 @@
 REQUEST = context.REQUEST
 
+short_msg="""
+From: %s <%s>
+To: %s
+Reply-To: %s
+Subject: %s
+Your SRP Member Details
+-----------------------
+
+Fullname: %s
+Student Id: %s
+Password: %s
+
+"""
 
 mtool = context.portal_membership
@@ -77,21 +90,8 @@
     probtype = 'Your Student Id and Password'
 
-    short_msg="""
-    From: %s <%s>
-    To: %s
-    Reply-To: %s
-    Subject: %s
-    Your SRP Member Details
-    -----------------------
-    
-    Fullname: %s
-    Student Id: %s
-    Password: %s
-    
-    """
+
     message = short_msg %(co_name,co_email,email,co_email,probtype,record.name,s_id,pw)
-    #mhost.send(message % d)
+    mhost.send(message)
 
-    return message
     return context.retrieve_password_form(rendered = res,
                              psm = "Notification has been sent!",
