Re: sending email problem....





Tony Marquis wrote:

Hi everyone,
The problem is really simple. When i try to send a message with this function with a wrong sender email address, my script just stops...

as an exemple : sender address tony.iagdyu@xxxxxxxxx the error message is - user not found on this server.... and the script stops.

While the script is a good thing to include, please resend with:

use strict;
use warnings;

and the code simplified to just the part that returns that error,

I say that because its just a sub{}, there is no call to it with example data or the actual error (which would be helpfull to see where its coming from, especially if you are reporting the error


croak "Email::Valid->address() said: $!"
if !Email::Valid->address->(...);

Now you'd know *exatly* where its coming from :)
.



Relevant Pages

  • Re: Secure Form Script?
    ... Why not just a form that accepts a subject, a sender email ... Even if manage to hijack the fields due to improperly vetted ... >>such a script to change the destination address and point it at a list ... > It's usually not sufficient to store the to addresses on the server ...
    (Focus-Linux)
  • sending email problem....
    ... When i try to send a message with this function with a wrong sender email address, my script just stops... ... Disposition => 'attachment' ...
    (perl.beginners)
  • Re: Scripts required
    ... I'm looking for a script to extract all sender email addresses from a ... customers mailbox and dump them into a text file. ...
    (microsoft.public.exchange.admin)
  • Scripting Advice
    ... I'm looking for a script that will automatically file all read messages in ... my personal folder by sender email address, creating a new folder if one ... Is such a script available? ...
    (microsoft.public.outlook.general)