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. Web Development
  3. ASP.NET
  4. SMTP Return-Path

SMTP Return-Path

Scheduled Pinned Locked Moved ASP.NET
csharp
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.
  • B Offline
    B Offline
    Blikkies
    wrote on last edited by
    #1

    Hey all, I want to add a Return-Path to my message so that Bounces can be send to a specific email address. I tried adding

    mm.Header.Add("Return-Path",email)

    to my MailMessage, but no luck. I've done some research but found nothing useful. Some guys said that it is impossible with system.net.mail. Any work around or ideas will be appreciated. Thanks

    Richard DeemingR 1 Reply Last reply
    0
    • B Blikkies

      Hey all, I want to add a Return-Path to my message so that Bounces can be send to a specific email address. I tried adding

      mm.Header.Add("Return-Path",email)

      to my MailMessage, but no luck. I've done some research but found nothing useful. Some guys said that it is impossible with system.net.mail. Any work around or ideas will be appreciated. Thanks

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      I believe the Return-Path header is set based on the Sender property[^].


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      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