From: Steve S. <ssw...@bi...> - 2002-05-16 17:29:15
|
Bruce, If the message was sent and it was received on your Sprint phone with the code you have below, then it *did* correctly identify the MX record, and send the message. That being the case, we should update send_sprint_pcs to use that methodology. Also, while I'm harrassing you about that file, how do I call the function in that file from MH? I tried &send_page, but that didn't work. :( Also, it doesn't seem to be able to correctly find the mh.private.ini file in my installation, but MH does. As an FYI, my mh.private.ini is in /opt/mh/, and the mh.ini is in /opt/mh/bin (I think that's the subdir). Thanks! -Steve On Wed, 15 May 2002, Bruce Winter wrote: > We do have a net_mail_send function defined in mh (in > mh/lib/handy_net_utilities). Looks like it uses Net::SMTP the same way that > bin/send_print_pcs does. > > I never had a problem sending sprint mail, although I don't use it too much > (wife usually has the phone). Here is a test call I just tried: > > ---- > > $cell_phone_test = new Voice_Cmd 'Send a test message to the cell phone'; > > if (said $cell_phone_test) { > net_mail_send subject => 'Hi from MisterHouse: $Time_Now', to => > $config_parms{cell_phone}; > } > > --- > > Here is my mh.ini entry: > > cell_phone = 507...@me... > > > Do you have an example of how we could update the net_mail_send code to > resolve MX records? > > Bruce > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > -- |