nisha has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I have started working on Domino servers; and there is a need to automate the sending of mails to the receipients with and without attachments using Perl. I need help on the utilities or if there are any modules which can help me do this?

Replies are listed 'Best First'.
Re: Domino Servers and Perl
by marto (Cardinal) on Oct 06, 2005 at 08:29 UTC
Re: Domino Servers and Perl
by diotalevi (Canon) on Oct 06, 2005 at 20:28 UTC

    This is best handled by writing code in one of the supported languages: @Formula, LotusScript, Java. Domino also supports JavaScript but that can't be used to write automated, server-side code.

    If you really, really want to write your code in perl, see Notes::OLE for some stuff that will help. You will need to be familiar with the API presented by the LotusScript classes and be able to understand how they'd be usable from OLE.

      Nisha ,

      A few months back I too was working on Domino platforms for an Anti Virus company in bangalore.

      Well as in checking Virus through mails/spam lots of mails had to be sent/recieved and analyzed.

      It was done using perl (of course).

      You can pump mails to Lotus notes using a module ( mostly available in CPAN , time for you to search there ) or you can use Sendmail.pl ( explorer->new->window->google )

      regards

      Prad

      for everything you want to search in perl there is google for those you cant find there, PM Super search is here
Re: Domino Servers and Perl
by EvanCarroll (Chaplain) on Oct 06, 2005 at 08:10 UTC
    Dear nisha,

    Yes, perl is an opportune language for spamming millions of people. It can do that, as well as many other things. Don't bother going to cpan first. Don't bother attempting your own problem, or starting your own search. Asking open-ended questions is good, and the less you know the more open-ended your question will be!

    PS, Don't give away any details.


    Evan Carroll
    www.EvanCarroll.com

      Hey EvenCarroll, one of the reasons to have a Domino server is to have it exist in your enterprise and do automated workflow for you. This nearly always involves sending emails around. Having your Domino server send automated emails is one of the simplest and most common requests an admin or developer can get.

      Not everything is spam, yo.

      Sorry for shooting at the dark and raising a real open ended question. Well i have this now...i am automating sending e-mails to a notes client on windows using "win32::ole" module...if i were to do the same on a AIX or a Solaris platform, what module would i have to use to launch the notes client. Hopefully this question was not an open ended one, coz i am really looking for some help in this matter.
        Don't bother going to cpan first. Don't bother attempting your own problem, or starting your own search.

        If you don't bother, you don't learn