Broc Seib wrote: > I want to specify my mail host at the moment I call $Server->Mail(); > > I see I can pass in some %smtp_args to the Net::SMTP new() constructor: > > $Server->Mail({ > 'To' => $to, > 'From' => $from, > : > : > }, > %smtp_args, > );
How about about setting the config at runtime, like: $Server->Config('MailHost', $your_mailhost); Do this just before the $Server->Mail(). If you really need this in the $Server->Mail routine, let me know, and we can probably add something there too. Note that currently, the MailHost config will become cached in the ASP object when it first gets used, so you will need to set your MailHost only once, like in Script_OnStart for example, but that the MailHost will persist for subsequent Server->Mail calls. Regards, Josh ________________________________________________________________ Josh Chamas, Founder phone:925-552-0128 Chamas Enterprises Inc. http://www.chamas.com NodeWorks Link Checking http://www.nodeworks.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]