Ask a Question related to PERL Miscellaneous, Design and Development.

  1. #1

    Default Re: ccperl Mailing


    Sendmail.pm (use Mail::Sendmail;)
    worked for me (without an attachment) on a Win2000 box.
    Just install the module from:
    [url]http://search.cpan.org/search?module=Mail::Sendmail[/url]

    and use the "Another Example" that they supply.

    I'd like to hear how to attached a file to the message.


    Mike


    Erik Waibel wrote:
    > Hello,
    >
    > I was wondering if there is a way to send an email (with or without an
    > attachment) using "ccperl5.0"? I've seen the modules, but there
    > instructions aren't very informative.
    >
    > --
    > Thanks,
    > Erik Waibel
    > ----------
    > Perl Hacker v.1.0
    Mike Flannigan Guest

  2. Similar Questions and Discussions

    1. Mailing from CF
      I have a realtor that wants to use his excel list to generate a email to his clients about news, etc. 1) How do I convert an excel list into an...
    2. e-mailing pix
      don't know if this is the right forum for the question but can anyone tell me how do i put a photo in the body of an e-mail without adding it as an...
    3. Mailing Labels
      Is there a way to make mailing labels with Acrobat 5 or import them from Word?
    4. Help please with mailing problem
      I hope someone can help - (my PHP programmer colleague is away currently) - I know very little PHP. We have a shopping site (selling Whisky)...
    5. e-mailing photos
      Am I able to send more than one photo at a time to the same e-mail address or must I send them individually. I haven't been able to see this...
  3. #2

    Default Re: ccperl Mailing

    Mike,

    The problem with this is that we need to only use the modules that come with
    the standard ccperl5.0 install. We have a program called "ClearCase", which
    is a file managing program, and we run Perl scripts within this program
    using ccperl5.0, which gets installed on a user's computer with the
    ClearCase installation. There are only a few mail modules that come with
    the standard installation and I need to be able to only use these modules.
    The instructions within the modules are confusing at best.

    --
    Thanks,
    Erik Waibel
    ----------
    Perl Hacker v.1.0
    "Mike Flannigan" <mikeflan@earthlink.net> wrote in message
    news:3F2A8CCD.B881354F@earthlink.net...
    >
    > Sendmail.pm (use Mail::Sendmail;)
    > worked for me (without an attachment) on a Win2000 box.
    > Just install the module from:
    > [url]http://search.cpan.org/search?module=Mail::Sendmail[/url]
    >
    > and use the "Another Example" that they supply.
    >
    > I'd like to hear how to attached a file to the message.
    >
    >
    > Mike
    >
    >
    > Erik Waibel wrote:
    >
    > > Hello,
    > >
    > > I was wondering if there is a way to send an email (with or without an
    > > attachment) using "ccperl5.0"? I've seen the modules, but there
    > > instructions aren't very informative.
    > >
    > > --
    > > Thanks,
    > > Erik Waibel
    > > ----------
    > > Perl Hacker v.1.0
    >

    Erik Waibel Guest

  4. #3

    Default Re: ccperl Mailing


    Oops, sorry.

    I just had to jump on that question, since it was one of the
    few that I mistakenly thought I could answer :-)


    Mike


    Erik Waibel wrote:
    > Mike,
    >
    > The problem with this is that we need to only use the modules that come with
    > the standard ccperl5.0 install. We have a program called "ClearCase", which
    > is a file managing program, and we run Perl scripts within this program
    > using ccperl5.0, which gets installed on a user's computer with the
    > ClearCase installation. There are only a few mail modules that come with
    > the standard installation and I need to be able to only use these modules.
    > The instructions within the modules are confusing at best.
    >
    > --
    > Thanks,
    > Erik Waibel
    > ----------
    > Perl Hacker v.1.0
    > "Mike Flannigan" <mikeflan@earthlink.net> wrote in message
    > news:3F2A8CCD.B881354F@earthlink.net...
    > >
    > > Sendmail.pm (use Mail::Sendmail;)
    > > worked for me (without an attachment) on a Win2000 box.
    > > Just install the module from:
    > > [url]http://search.cpan.org/search?module=Mail::Sendmail[/url]
    > >
    > > and use the "Another Example" that they supply.
    > >
    > > I'd like to hear how to attached a file to the message.
    > >
    > >
    > > Mike
    > >
    > >
    > > Erik Waibel wrote:
    > >
    > > > Hello,
    > > >
    > > > I was wondering if there is a way to send an email (with or without an
    > > > attachment) using "ccperl5.0"? I've seen the modules, but there
    > > > instructions aren't very informative.
    > > >
    > > > --
    > > > Thanks,
    > > > Erik Waibel
    > > > ----------
    > > > Perl Hacker v.1.0
    > >
    Mike Flannigan Guest

  5. #4

    Default Re: ccperl Mailing

    Garry Short <g4rry_sh0rt@zw4llet.com> wrote in message news:<bgldf7$b06$1$8302bc10@news.demon.co.uk>...
    > Erik Waibel wrote:
    >
    > > Mike,
    > >
    > > The problem with this is that we need to only use the modules that come
    > > with
    > > the standard ccperl5.0 install. We have a program called "ClearCase",
    > > which is a file managing program, and we run Perl scripts within this
    > > program using ccperl5.0, which gets installed on a user's computer with
    > > the
    > > ClearCase installation. There are only a few mail modules that come with
    > > the standard installation and I need to be able to only use these modules.
    > > The instructions within the modules are confusing at best.
    > >
    >
    > Eric,
    >
    > Although ClearCase comes with ccperl5.0, it's a pretty poor version and can
    > easily be replaced with any other version of perl. Better yet, if you don't
    > want to install it on each machine you can install it on a fileserver
    > somewhere, and run it from there - then you just need to modify the path
    > statement, which is a piece of cake.
    >
    > I've been writing ClearCase scripts for 3 years now, and I've NEVER resorted
    > to using CCPerl!
    >
    > Do yourself a favour - download a modern copy of perl, install the modules
    > you want, and don't try and use ccperl again!
    >
    > Regards,
    >
    > Garry
    I would not pass quite so harsh a judgment on ccperl, it is adequate
    for most jobs, and some govt. shops prohibit any opensource or
    freeware addons.

    I have an interop trigger that sends mail on AIX with:
    qx(mailx -s '$subj' '$mailto' < message.temp);
    $subj, $mailto, and message.temp are previously defined.

    For windows I made use of "notify.exe", an undocumented mail utility
    used internally by clearcase. it's a bit messy to use but here's how
    I did it:
    $bat = "c:\\doc_email.bat"; #batch to handle multiple email addresses
    my $bat2 = ">".$bat;
    unless (open BAT, "$bat2") {die "unable to create doc_email.bat.";}
    print BAT "\\\\network path to\\notify.exe -s \"".$subj."\" -f
    c:\\message.temp ".$mailto;
    close(BAT);
    qx(c:\\doc_email.bat);

    note the quoting aroung $subj

    HTH,
    ~Bob Dorenfeld
    ~Trinity Software Solutions ([url]www.trinity-software.com[/url])
    Bob Guest

  6. #5

    Default Re: ccperl Mailing

    [email]galena1@verizon.net[/email] (Bob) wrote in message
    > I would not pass quite so harsh a judgment on ccperl, it is adequate
    > for most jobs, and some govt. shops prohibit any opensource or
    > freeware addons.
    clarification: those "opensource or freeware addons" *not* shipping
    with the OEM product are sometimes prohibited.

    ~Bob
    Bob Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139