in reply to OLE OUTLOOK Security

If SMTP is "locked" how is Outlook sending mail? In principle at least Mime::Lite or Net::SMTP should be able to send anything that Outlook can.


Perl is Huffman encoded by design.

Replies are listed 'Best First'.
Re^2: OLE OUTLOOK Security
by inman (Curate) on Aug 24, 2005 at 09:29 UTC
    Outlook is probably using MAPI to connect to Exchange Server. The OP could look at using MAPI directly rather than via Outlook.
Re^2: OLE OUTLOOK Security
by Fuism (Beadle) on Aug 23, 2005 at 22:23 UTC
    Well Im using outlook on my local machine to send the email(using Activestate Perl), rather than going straight thru the SMTP server. My scripts using the SMTP server worked for about 2 weeks(about 3 months ago). I started using sendmail on unix to send .csv attachments instead of .xls(for some reason the .xls files were getting corrupted). My clients prefer .xls so now Im trying to send it with Outlook. They are trying to secure the whole network here at work. We will soon be using SSH and SFTP rather than telnet and FTP. I will have to make some more changes to my scripts :(

      What I'm suggesting is that if Outlook can drive SMTP so that it can send mail, your code should be able to drive SMTP in the same way to be able to send mail. The Net::* modules should give access to the facilities you need to make that work.


      Perl is Huffman encoded by design.
        I will try it again but I believe thats what I used last time, SMTP and MIME-Lite. But for securtiy purposes I wasnt able to send emails directly through SMTP. I will let you know how that goes. Thanks.... Fue