Perl Mime::Lite question. Help please?

I’m having a problem with Perl using the Mime::Lite module and I was hoping someone here could help me out.

I’m trying to send a multipart MIME message (text and HTML). The problem that I am running into is in trying to send out a “real name” along with the email address. In other email programs, you can send “Zev Steinhardt <zev@zevaddress.com>” as the send address. However, when doing this with Mime::Lite, I get

SMTP MAIL command failed:
5.5.4 Bad Address

If I try to send it with just the email address (zev@zevaddress.com) it works. But I have to send out a “real name” with it.

Does anyone have any ideas that could help?

Thanks in advance,

Zev Steinhardt

ba-bump

Anyone?

Zev Steinhardt

You might have better luck trying your question here. Those doodz know everything.

Try using ‘“Name, Full” <full.name@some.host.com>’ in the To: string. Note the double quotes around the full name.