-/* Get Full RFC822 style email address */
-bool
-wxGetEmailAddress (char *address, int maxSize)
-{
- char host[65];
- char user[65];
-
- if (wxGetHostName(host, 64) == FALSE)
- return FALSE;
- if (wxGetUserId(user, 64) == FALSE)
- return FALSE;
-
- char tmp[130];
- strcpy(tmp, user);
- strcat(tmp, "@");
- strcat(tmp, host);
-
- strncpy(address, tmp, maxSize - 1);
- address[maxSize-1] = '\0';
- return TRUE;
-}
-