,
I think that is my problem anyway...
I am using the Net::SMTP::Server module as the server end of testing
SMTP mail. Very basic, which is what I was after. It uses
Net::SMTP::Server::Client to handle incoming client requests.
The example - changed just a bit - lets me print the Envelope data
(To:/From:) and the message data.
,----- [ I do something like this ]
| print (
| "==$DTSFileName==\n Envelope:",
| "\n\tFrom: ",
| $client->{FROM},
| "\n\tTo: ",
| $client->{TO},
| "\nMsg:\n",
| $client->{MSG},
| );
`-----
The above code bit works just fine, with the exception of the
$client->{TO} part. That prints ARRAY(0x1d8a454) and I _think_ that is
an array reference (right?).
My question is how do I get it to print correctly like the FROM line?
btw, my test message is sent using Net:SMTP, and both To and From are
set from the same $MailTo Var...
,----- [ Here is an example output of the above code. ]
| ==2003-1-26.21-3-18===========================
| Envelope:
| From: <[EMAIL PROTECTED]>
| To: ARRAY(0x1d8a454)
| Msg:
| From: [EMAIL PROTECTED]
| To: [EMAIL PROTECTED]
| Subject:This is the Subject Line
|
| And this is the message
`-----
Yes, I know the eMail address is not valid, but the test SMTP
host does not check anything like that - I would have to code it
and it does not really matter to me at this point...
I have used my normal Mail Client (The Bat!) to send and get the same
results. (and a command line SMTP mailer - Blat.exe).
Hope that is enough info...
Frustrated, but trying to expand my understanding...
Thanks all!
--
Tim Musson
Flying with The Bat! eMail v1.62 Christmas Edition
Windows 2000 5.0.2195 (Service Pack 2)
Hang up and drive.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]