Send email from Lotus Notes using different database other than personal .nsf

  • I am trying to send en email via Lotus Notes using VBA (in Access) but I am unable to get the email to send from a different mail database other than my personal one.


    I have tried to explicitly enter the ServerName and DatabaseName in the following section


    Code
    Set Maildb = session.GETDATABASE("ServerName", MailDbName)


    The below excerpt displays the entire code which still sends via my personal Mail Inbox:


  • Re: Send email from Lotus Notes using different database other than personal .nsf


    Hi,


    I would appreciate if anyone could help out in this problem, as I am facing the same issue.


    As a workaround, I am saving the mails to DRAFTs folder (of other database; by setting the values mentioned in above post) and then manually sending mails from different database. But its a pain !


    thanks in advance.

    thanks,
    DJ :)

  • Re: Send email from Lotus Notes using different database other than personal .nsf


    Hi,


    I am facing the same issue.


    As a workaround I am saving emails in the Draft Folder (of other database; by setting mentioned in above post), and then manually sending out the mails.


    Believe me, its a PAIN !!! can anybody look into this issue?


    thanks in advance.

    thanks,
    DJ :)

  • Re: Send email from Lotus Notes using different database other than personal .nsf


    A workaround for this issie is to explicitly assign a value to the 'from' and 'Principal' fields. (see below)


    The email still gets sent from your personal Inbox but it looks as though it was sent from the alias/group inbox.


    Code
    MailDoc.From = "CN=Other Inbox Name/OU=xxx/O=yyyy"
      MailDoc.INetFrom = "[email protected]"
      MailDoc.Principal = "CN=Other Inbox Name/OU=xxx/O=yyyy"
      MailDoc.INetPrincipal = "[email protected]"
  • Re: Send email from Lotus Notes using different database other than personal .nsf



    deveshjaitley


    You're hijacking a post as old as almost 1 year. If you have a question, start your own topic. If needed and useful, refer to this one with a simple link to it. I am locking this one.


    in addition don't post twice almost the same post, that's not wise.


    Thank you for noticing.


    Wigi

    Regards,


    Wigi


    Excel MVP 2011-2014


    For more Excel memes: visit http://www.wimgielis.com ==> English articles ==> Excel memes


    -- Topics without [CODE] tags or a meaningful topic title, will be neglected by me (and probably many others as well) --

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!