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
  1. Home
  2. General Programming
  3. C#
  4. how do get permission to send an email from ASP.net?

how do get permission to send an email from ASP.net?

Scheduled Pinned Locked Moved C#
helpcsharpasp-netsysadminwindows-admin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    spazzman
    wrote on last edited by
    #1

    hey - I'm hoping someone on the forum can help me with this. It's a fairly mundane problem, but I can't seem to get around it. I cannot send an email from an ASP.net application. I get the 0x80040220 error - basically, I don't have permission to send email. Exactly the same code run from a Win32 app works perfectly. A check at MSDN comes up with a slew of solutions, ranging from the vague ("run your web app with correct permissions") to the amazing (download Exchange Server SP3, weighing in at 160+ Megs). I'm developing a small open source app that needs to send email from an ASP page - I'm looking for a clean and elegant solution to this problem - something I can set in my code without having to ask ppl who use my app to monkey around with their IIS permissions or download a 160 meg "patch". Any ideas? I'd really appreciate them. After spending weeks banging together my application, it's pretty annoying that it fails on something as trivial as not being able to send out a simple email.

    N 1 Reply Last reply
    0
    • S spazzman

      hey - I'm hoping someone on the forum can help me with this. It's a fairly mundane problem, but I can't seem to get around it. I cannot send an email from an ASP.net application. I get the 0x80040220 error - basically, I don't have permission to send email. Exactly the same code run from a Win32 app works perfectly. A check at MSDN comes up with a slew of solutions, ranging from the vague ("run your web app with correct permissions") to the amazing (download Exchange Server SP3, weighing in at 160+ Megs). I'm developing a small open source app that needs to send email from an ASP page - I'm looking for a clean and elegant solution to this problem - something I can set in my code without having to ask ppl who use my app to monkey around with their IIS permissions or download a 160 meg "patch". Any ideas? I'd really appreciate them. After spending weeks banging together my application, it's pretty annoying that it fails on something as trivial as not being able to send out a simple email.

      N Offline
      N Offline
      Nick Parker
      wrote on last edited by
      #2

      This question really belongs in the ASP.NET[^] forum or Operating Systems / SysAdmin[^] forum. - Nick Parker
      My Blog | My Articles

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

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