diff --git a/mailnews/compose/src/nsSmtpUrl.cpp b/mailnews/compose/src/nsSmtpUrl.cpp index 2e30ff99eda..37d0e9857d4 100644 --- a/mailnews/compose/src/nsSmtpUrl.cpp +++ b/mailnews/compose/src/nsSmtpUrl.cpp @@ -441,7 +441,7 @@ nsresult nsSmtpUrl::ParseUrl() // set the username nsXPIDLCString userName; - rv = GetPreHost(getter_Copies(userName)); + rv = GetUsername(getter_Copies(userName)); if (NS_FAILED(rv)) return rv; m_userName = (const char *)userName;