Index: main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt	(revision 7233)
+++ main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt	(revision 7234)
@@ -45,5 +45,5 @@
   >>> print browser.contents
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
-  ...>Required input is missing...
+  ...Required input is missing...
   ...
 
@@ -187,5 +187,6 @@
   ...
 
-We fill the form and try to send message to contact@waeup.org)::
+We fill the form  (this will send a real message to
+contact@waeup.org)::
 
   >>> browser.open('http://localhost/myuniversity/contactadmin')
@@ -194,8 +195,10 @@
   >>> print browser.contents
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
-  ...<li class="message">You don't have a user account.</li>
-  ...
-
-We can't send messages without a user account.
+  ...<li class="message">Your message has been sent.</li>
+  ...
+
+If this test fails, chances are, that the local machine has no SMTP
+server installed.
+
 
 
Index: main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py	(revision 7233)
+++ main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py	(revision 7234)
@@ -216,11 +216,10 @@
     @grok.action('Send message now')
     def send(self, *args, **data):
-        useraccount = self.get_user_account
-        if useraccount is None:
-            self.flash("You don't have a user account.")
-            return
-        fullname = useraccount.title
-        email_from = useraccount.email
-        username = useraccount.name
+        fullname = self.request.principal.title
+        try:
+            email_from = self.request.principal.email
+        except AttributeError:
+            email_from = self.config.email_admin
+        username = self.request.principal.id
         body = data['body']
         email_to = self.config.email_admin
@@ -462,11 +461,10 @@
     @grok.action('Send message now')
     def send(self, *args, **data):
-        useraccount = self.get_user_account
-        if useraccount is None:
-            self.flash("You don't have a user account.")
-            return
-        fullname = useraccount.title
-        email_from = useraccount.email
-        username = useraccount.name
+        fullname = self.request.principal.title
+        try:
+            email_from = self.request.principal.email
+        except AttributeError:
+            email_from = self.config.email_admin
+        username = self.request.principal.id
         body = data['body']
         email_to = self.context.email
