SMTP password - If password contains @ the SMTP configuration is broken

Description

Brief Description of Issue:
I use an @ in my email password
I setup SMTP in Host --> Advanced Settings but it always errors out
If I change my email host to one where I just use letters & numbers then SMTP configuration works correctly

Clear Steps to Reproduce:

Step 1 - Log in as HOST
Step 2 - Create an SMTP Server and use a password that contains '@' - I used dnnqa1@gmail.com password dnn@dnnqa1
Step 3 - Click "Save" button and then after the page posts back click "SMTP Test" button

Actual Result:

Actual Result 1 - I get a failure message in the UI:

There has been an error trying to send the test email. The error is:
There is a problem with the configuration of your SMTP Server. Mail was not sent.
     2.  Actual Result 2 - This error shows up in the log.resources file:

2013-03-05 11:28:23,970 [TST-KG-WSRV8A][Thread:35][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.Net.Mail.SmtpException: Mailbox unavailable. The server response was: 5.4.5 Daily sending quota exceeded. iu10sm27873264pbc.13 - gsmtp
   at System.Net.Mail.DataCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse)
   at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at DotNetNuke.Services.Mail.Mail.SendMailInternal(MailMessage mailMessage, String subject, String body, MailPriority priority, MailFormat bodyFormat, Encoding bodyEncoding, IEnumerable`1 attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL)

Expected Result:

Expected Result 1 - Email password with '@' is accepted and SMTP setup and test are successful

NOTES:
This does NOT reproduce in 7.0.3
Somehow we broke this in 7.0.4
If I change my SMTP server to one where the password does not contain '@' then the SMTP setup and test are always successful

There is a workaround for this issue....
If you add the correct port # at the back end of the SMTP Server text :xxx then mail will be sent out from the web site

This is sub-optimal as it means Hosts/Admins have to reconfigure and then retest their notifications

QA Test Plan

None

Activity

Show:

Ken Grierson March 5, 2013 at 7:44 PM

Apparently Google had an undiagnosed or unpublicized transient ischemic attack earlier today.
SMTP is working again for the Google account I was using

Ken Grierson March 5, 2013 at 7:44 PM

Apparently Google had an undiagnosed or unpublicized transient ischemic attack earlier today.
SMTP is working again for the Google account I was using

Cannot Reproduce

Details

Assignee

Reporter

Severity

Show Stopper

Documentation Required

No

Components

Affects versions

Priority

Created March 5, 2013 at 3:40 PM
Updated July 22, 2013 at 11:21 PM
Resolved March 5, 2013 at 7:44 PM