seh grad, dass die fehlermeldung runde statt eckiger klammern ausgibt. check das nochmal mit deinem code.
lg ----- Original Message ----- From: "Thomas Beckert" <[EMAIL PROTECTED]> To: "ASP.NET" <[EMAIL PROTECTED]> Sent: Friday, May 07, 2004 12:37 PM Subject: [Asp.net] Server Authentifizierung Hallo zusammen - jene, die es im Coffeehouse nicht mit verfolgt haben, es geht um folgendes Problem: ich verschicke mittels MailObject eine Email. Der Email-Server ben�tigt aber eine Authentifizierung. Jetzt habe ich als Tip folgenden Link bekommen und das dort gefundene eingebaut: http://www.dotnetgerman.com/blogs/aspxintra.net/CommentView.aspx?guid=6A6128 6F-6E57-40F2-81C9-3210B4F47AC6 aber irgendwie peil ich das nicht. mein Code: Dim objMail As New System.Web.Mail.MailMessage() objMail.From = from objMail.To = recepient objMail.Subject = subject objMail.Fields["http://schemas.microsoft.com/cdo/configuration/smtpauthentic ate"] = 1; objMail.Fields["http://schemas.microsoft.com/cdo/configuration/sendusername" ] = "[EMAIL PROTECTED]"; objMail.Fields["http://schemas.microsoft.com/cdo/configuration/sendpassword" ] = "xxxxxxx"; der fehler: Compiler Error Message: BC30545: Property access must assign to the property or use its value. Source Error: Line 11: objMail.Subject = subject Line 12: Line 13: objMail.Fields["http://schemas.microsoft.com/cdo/configuration/smtpauthentic ate"] = "1"; Line 14: objMail.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername" ) = "[EMAIL PROTECTED]"; Line 15: objMail.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword" ) = "$itePoin1"; ************************* _______________________________________________ This ASP.NET email is sponsored by: UDEX ProMenu.Net - Die Software f�r Navigation - Jetzt kostenlos testen! Tree- Style, Horizontal- Slide, Vertical- Slide. http://www.udexnet.com _______________________________________________ Asp.net Mailingliste, Postings senden an: [EMAIL PROTECTED] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/asp.net ************************* ************************* _______________________________________________ This ASP.NET email is sponsored by: UDEX ProMenu.Net - Die Software f�r Navigation - Jetzt kostenlos testen! Tree- Style, Horizontal- Slide, Vertical- Slide. http://www.udexnet.com _______________________________________________ Asp.net Mailingliste, Postings senden an: [EMAIL PROTECTED] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/asp.net *************************
