Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MIME::Lite inconsistency

Status
Not open for further replies.

audiopro

Programmer
Apr 1, 2004
3,165
GB
I am using MIME::Lite and I am getting the error message:-
Recipient names must be specified

I know the answer is obvious but it is not as simple as that.
Same script running on 3 separate servers.
The only change, between versions, is the 'from' address as it has to reflect the domain name.
Two versions on the same host but on totally separate domains give me the above error. One of these domains has another script on it which uses MIME::Lite with no problems.
A third version on a different host works ok.

In order to find the root of the problem I have been looking into the modules involved but I cannot find where the error message is actually generated.
Can anyone suggest my next course of action?


Keith
 
After much head scratching, I managed to get it to work by putting the 'To' email address in the send command.
Code:
$msg->send($To);
I have been searching the docs trying to find out why, the only thing I can find is reference to 'smtp'.
I still cannot find where the original error message is generated.

Keith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top