Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

NFinch

@NFinch
About
Posts
3
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • {"Could not access 'CDO.Message' object." }
    N NFinch

    Here is some sample code for authenticating against an SMTP server. You could just set up your own Virtual SMTP server for testing purposes and not have to worry about authenticating just yet. Someone else has replied with a useful link for that already. Here is the code: System.Web.Mail.MailMessage ms = new System.Web.Mail.MailMessage(); ms.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1"); ms.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "myUsername"); ms.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "myPassword"); ms.To = "you@yourcompanyaaaxxx.com"; ms.From = "me@mycompanyaaaxxx.com"; ms.Subject = "test message"; ms.Body = "the body of my message"; System.Web.Mail.SmtpMail.SmtpServer = "mail.mycompanyaaaxxx.com"; System.Web.Mail.SmtpMail.Send(ms); HTH Nick

    ASP.NET com help question

  • Managed DirectX
    N NFinch

    I have just started trying my hand at DirectX. Have you installed the SDK Update from... http://www.microsoft.com/downloads/details.aspx?FamilyId=9216652F-51E0-402E-B7B5-FEB68D00F298&displaylang=en

    .NET (Core and Framework) graphics game-dev xml question

  • {"Could not access 'CDO.Message' object." }
    N NFinch

    mmm, yes I have had this before. It is a default message when calling the SmtpMail.Send method. Have you added any attachements to the message, if so, make sure that they are accessible! Make sure that you are specifiying a valid SMTP server. Does the SMTP server require authentication?

    ASP.NET com help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups