Re: Send::Mail nothing happens and no errors
- From: "Mumia W. (NOSPAM)" <paduille.4060.mumia.w+nospam@xxxxxxxxxxxxx>
- Date: Thu, 25 Jan 2007 15:47:31 -0600
On 01/25/2007 12:06 PM, Andy wrote:
I've added the strict and warnings, and the only thing they point out
is that the @ in my email address could be mistaken for an array. But,
I've tried both escaping and not escaping it.
The PERL script doesn't actually crash, it compiles and finishes
execution successfully without any errors (the last statement in the
script is a line to print the word "done", which appears in the
output).
I'm not very familiar with the Email::Send module. The problem may
have something to do with this module needing another email subsystem
that isn't present on my windows PC. Or, it maybe something to do with
having access to the SMTP server.
I've verified that the SMTP server we have doesn't require any
authentication.
I've also put in a dummy address to a non-existant SMTP server, and
Email::Send doesn't seem to crash. In either case, there is a
noticable pause before the single email is sent and the word "done"
appears.
The Email::Send documentation talks about the need to write a "mailer".
But, there are examples on the internet where the mailer is the SMTP
server itself. Do I need to write a mailer agent?
Any pointers or thoughts would be much appreciated....
Andy
Most definitely you don't need to write a Mail Transport Agent (MTA). It sounds like Email::Send (which I don't have) wants to write to sendmail or exim.
Sendmail and exim are *nixy programs that probably have been ported to Windows, but very few Windows users have them installed. Even if you install Sendmail for Windows, you'd have to tell Email::Send about the location of sendmail using whatever way the module allows for that.
Or you could dump Email::Send and use a module that specifically advertises it's ability to talk SMTP to a configurable host and port (25 or 587).
Or if you install and configure sendmail, you could talk directly to sendmail, bypassing Email::Send.
--
Windows Vista and your freedom in conflict:
http://www.badvista.org/
.
- References:
- Send::Mail nothing happens and no errors
- From: Andy
- Re: Send::Mail nothing happens and no errors
- From: Mumia W. (NOSPAM)
- Re: Send::Mail nothing happens and no errors
- From: Andy
- Send::Mail nothing happens and no errors
- Prev by Date: Re: Send::Mail nothing happens and no errors
- Next by Date: Re: Need help with Net::FTPSSL
- Previous by thread: Re: Send::Mail nothing happens and no errors
- Next by thread: system return value?
- Index(es):
Relevant Pages
|