in reply to Re^2: Send a mail in Win32 with Gmail
in thread Send a mail in Win32 with Gmail

"Done (but I think that isn't exactly a "really simple solution")!"

Well it's a lot simpler than not using any of these modules/libraries and writing it all yourself :) Seriously though, which parts did you have difficulty with, installing the modules?

Replies are listed 'Best First'.
Re^4: Send a mail in Win32 with Gmail
by saintex (Scribe) on Jun 11, 2010 at 11:00 UTC
    the "difficult part" is the installation on many computers.

    For any of these I have to:
    - install perl of course;
    - configure ppm repositories;
    - download and install the three modules;
    - configure parameters for any account;

    So nothing really difficult, but now I think that an installation program that runs these operations for me will be useful. But I don't now how I can do it...

      "the "difficult part" is the installation on many computers."

      This wasn't part of your question, and is a seperate issue to how 'simple' the task is to achieve. However you don't have to do any of this. You can use pp which will package up your code, modules etc into an executable you can then run on other machines, without having to install perl or anything else. Perhaps consider using a config file for parameters.

      See Wisdom about "packaging" or transporting Perl apps or super search for other threads on the subject of distributing applications.

      Update: read the OP again and updated as above.

Re^6: Send a mail in Win32 with Gmail
by saintex (Scribe) on Jun 11, 2010 at 13:06 UTC
    With PAR is also possible to install (not only to run) external program (such as cwrsync) o run a simply user's configuration with a graphical interface or text file? Thank you!

      I've no idea what cwrsync is, though I suspect it's an offshoot of rsync. If you can do it (install this app or whatever) in your existing perl code pp will simply package that all up for you. If you're looking for your app to have a GUI there are several options, Win32::Gui, Tk and others.

      See http://par.perl.org for more about pp and PAR, what it can and can't do etc.