Changing the address a @Mailsend comes from

Discussion in 'Lotus Notes Programming' started by sunlinmj, Apr 10, 2006.

  1. sunlinmj

    sunlinmj Guest

    Client is requesting an e-mail database to automatically respond to
    each e-mail it receives (I.E. Thank you for your e-mail, somene will
    respond shortly)

    My answer was to build an agent that runs "Before Mail Arrives". Using
    @MailSend the database will effectively respond to each e-mail
    received, but the problem is the application server's name appears is
    the sendin the e-mail. Basically I want it to show coming from the
    mailin database itself, not my application server to avoid client's

    Thanks in advance!
    sunlinmj, Apr 10, 2006
    1. Advertisements

  2. sunlinmj

    sunlinmj Guest

    I suppose there is not a way to programmatically change where the
    e-mail comes from?

    If I use the "simple actions" the e-mail shows to come from myself
    (which I absolutely don't want). The alternative was to use the formula
    @MailSend with appropriate parameters, but now the e-mails are
    addressed from the name of the development server, not the mailfile. So
    if a user simply replies to sender, my mailin database will never know
    about it.
    sunlinmj, Apr 20, 2006
    1. Advertisements

  3. sunlinmj

    Tim Mohrlant Guest

    You could try adding "RepyTo" and "Principal" fields to the document before
    mailing. I'm not sure if this works with @Mailsend, but it does with

    Tim Mohrlant - [email protected] (remove NO_JUNK_MAIL_)
    Tim Mohrlant, Apr 21, 2006
  4. sunlinmj

    urs meli Guest

    You could only change the "from" with Lotusscript.
    Change the principal field to the apropriate user if its only intended
    to be used inside a notes environment.
    If the message leaves to the internet (over SMTP) you have to alter the
    field SMTPOriginator too.
    urs meli, Apr 21, 2006
  5. sunlinmj

    sunlinmj Guest

    Thanks for the info Tim and Urs. I was hoping for some trick with
    formula but I can rebuild with lotusscript without too much headache.
    sunlinmj, Apr 21, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.