From: Craig S. <csc...@ya...> - 2002-11-04 22:57:56
|
--- Bruce Winter <br...@mi...> wrote: > > Is anybody having problems sending Sprint pages. I use the following code > > (which used to work): > > > > &net_mail_send(to => '585...@me...', > > server => 'smtp-server.rochester.rr.com', > > subject => "$msg", > > from => 'mh@home'); > > > > I've verified that $msg is set to something. The pages come > > through, but the > > subject is blank. I can use the same command to send to my normal > > email and it > > comes through ok. If I send an email from Outlook it pages just > > fine. Appears > > to be a sprint problem, but only with mh/perl. Thoughts anyone? > > Just tried it here and I see the same problem. If, however, you include a > message body, then both the subject and body work ok. I just changed the > test example in internet_mail.pl to this: > > if (said $cell_phone_test) { > speak "Test email sent to cell phone"; > net_mail_send to => $config_parms{cell_phone}, > subject => 'MisterHouse test', > text => "I sent this at $Time_Now"; > } > Bruce Thanks, that took care of it. I noticed that some of my longer subject lines don't all come through (truncated). I think that I will change send_alpha_page to take 2 parameters, subject and text. I'll just send a short subject and longer text. Bruce, you're amazing. Thanks again. -Craig __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ |