Re: Configure Sendmail so receiving systems have good Return-Path header



On 2005-08-11, Yozons <yozons@xxxxxxxxx> wrote:
> By setting the mail.smtp.from, the Return-Path was set as expected now.
> Unfortunately, it's on the Session object, so I cannot change it on a
> per-message basis, so the VERP technique can't be used unless a new
> session is created for each email, and that's likely too expensive
> resource wise, though we'll give it a test and see what the difference
> is.

You can replace MimeMessage with SMTPMessage and use the setEnvelopeFrom
method. (Not sure whether this works with older versions though.)
.



Relevant Pages

  • Re: different sessions and globals
    ... It sounds like you should be using the Session object instead of global ... > program what type of user they are but when multiple people are logged in ... How can I fix this? ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Session Object
    ... I have a strange problem with the Session Object and wondered if anyone else ... It seems to be a "switch" on the development server project but I can't find ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • the best way to have some information accessable to all pages?
    ... store in session object? ... or pass them through the QueryString or Application ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Session variables in a Public Class?
    ... Hmm - presumably, you can access the Session object from other places i.e. ... an ASPX page's code-behind...? ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Web Farm
    ... We run a multi-proc machine and have to store some objects that are not ... serializable into the session object and hence wouldn't be able to use SQL ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)