Re: Mail::Sender problem



On Aug 20, 7:58 pm, Gunnar Hjalmarsson <nore...@xxxxxxxxx> wrote:
jis wrote:
I wrote a program to send email. It looks as below

use strict;
use Mail::Sender;

<snip>

This works fine for me without any issues.
I converted this script to exe using p2x-8.80-Win32.It gave warnings
initially with
1. Config file missing.
2. Langinfo.pm missing.
3. Digest::Perl::MD5 missing

I re installed Mail::Sender to make sure that there is a config file.

Did that really make a difference with respect to the config file
Perl2Exe complained about?

I manually copied LangInfo.pm to the I18N folder under C:\\perl\\lib.
ALso installed MD5 from cpan.

I converted to exe without any warnings.
But when I run exe it throws the error
" -3Error Sending
mail: Connect failed:An established connection was aborted by
software
in your host machine" . I do not have problems when I go back and run
my perl file.

I use Windows xp, Active perl 5.8.8 Build 820, Mail::sender 0.8.13
I use p2x-8.80-Win32 to convert .pl to .exe.I did not have any
problems while converting to exe before.Ofcourse I never used
Mail::Sender before.

I know that Mail::Sender was written with conversion to .exe files in
mind, so it ought to be a good choice for the purpose.

Maybe you should try to get in touch with the Mail::Sender author.

--
Gunnar Hjalmarsson
Email:http://www.gunnar.cc/cgi-bin/contact.pl


Why are you messing with CPAN and copying things manually? If you
have ActiveState Perl you should use Perl Package Manager to install
your packages.

.



Relevant Pages

  • Re: Mail::Sender problem
    ... Config file missing. ... I re installed Mail::Sender to make sure that there is a config file. ... I converted to exe without any warnings. ... problems while converting to exe before.Ofcourse I never used ...
    (comp.lang.perl.misc)
  • RE: Converting an endpoint from a config file to code
    ... Yes, app.config file is application (exe) based, you can never attach app.config file to a dll/assembly, but associate it with a certain .NET application domain. ... I started going down the route of converting the config file to ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Shell Functions and DOS executables
    ... I downloaded the EXE, ... read the STDErrResults which is where you ... Reports "Error Converting filename.wfm" if NOT successful ... On Error GoTo KillCNVRTWFMError ...
    (microsoft.public.vb.general.discussion)
  • Re: Shell Functions and DOS executables
    ... I downloaded the EXE, ... read the STDErrResults which is where you ... Reports "Error Converting filename.wfm" if NOT successful ... On Error GoTo KillCNVRTWFMError ...
    (microsoft.public.vb.general.discussion)
  • Re: trouble writing new and updated values to app.config file
    ... If i run the exe from the debugger c# ide the config file remains ... debug directory then it does add new content to the config file. ... When i runned program without adding app.config, ...
    (microsoft.public.dotnet.languages.csharp)