[Mono-bugs] [Bug 552269] New: SMTPClient.Send throws exception 504 5.7.4 Unrecognized authorization type
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Nov 3 15:14:43 EST 2009
http://bugzilla.novell.com/show_bug.cgi?id=552269
Summary: SMTPClient.Send throws exception 504 5.7.4
Unrecognized authorization type
Classification: Mono
Product: Mono: Runtime
Version: 2.4.x
Platform: 32bit
OS/Version: openSUSE 11.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: debug
AssignedTo: martin at novell.com
ReportedBy: bkesecker at augustasystems.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=325379)
--> (http://bugzilla.novell.com/attachment.cgi?id=325379)
WinZip'd VS08 Project
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR
1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022;
MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MSN Optimized;US)
Calling System.Net.Mail.SMTPClient.Send with network credentials throws
exception "504 5.7.4 Unrecognized authorization type" with StatusCode
System.Net.Mail.SmtpStatusCode.CommandParameterNotImplemented. Specifying the
authorization type as "Basic", "NTLM", "Digest", "Negotiate",
"IntegratedWindowsAuthentication", "Anonymous", or "None" results in the exact
same bahaviour. Attached project provides reproduction.
Reproducible: Always
Steps to Reproduce:
1. Declare new SMTPClient with valid SMTP server and port.
2. Declare new MailMessage with valid To, From, Subject, and Message.
3. Declare new NetworkCredential with valid Username and Password.
4. Assign NetworkCredential object to SMTPClient.Credential property.
5. Invoke SMTPClient.Send with the MailMessage as the parameter.
Actual Results:
Throws exception "504 5.7.4 Unrecognized authorization type". Attempting to
specify the type via NetworkCredential.GetCredential with values "Basic",
"NTLM", "Digest", "Negotiate", "IntegratedWindowsAuthentication", "Anonymous",
or "None" results in the same.
Expected Results:
Sends the e-mail, as this code works correctly under Microsoft Windows OS
versions.
Performance of this issue was identical in the latest version of Ubuntu as of
this writing.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list