Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It's worth mentioning that if you happen to have Outlook on your machine and cpan the Outlook module:</p> <pre><code> # create the object use Mail::Outlook; my $outlook = new Mail::Outlook(); # start with a folder my $outlook = new Mail::Outlook('Inbox'); # use the Win32::OLE::Const definitions use Mail::Outlook; use Win32::OLE::Const 'Microsoft Outlook'; my $outlook = new Mail::Outlook(olInbox); # get/set the current folder my $folder = $outlook-&gt;folder(); my $folder = $outlook-&gt;folder('Inbox'); # get the first/last/next/previous message my $message = $folder-&gt;first(); $message = $folder-&gt;next(); $message = $folder-&gt;last(); $message = $folder-&gt;previous(); # read the attributes of the current message my $text = $message-&gt;From(); $text = $message-&gt;To(); $text = $message-&gt;Cc(); $text = $message-&gt;Bcc(); $text = $message-&gt;Subject(); $text = $message-&gt;Body(); my @list = $message-&gt;Attach(); # use Outlook to display the current message $message-&gt;display; # Or use a hash my %hash = ( To =&gt; 'suanna@live.com.invalid', Subject =&gt; 'Blah Blah Blah', Body =&gt; 'Yadda Yadda Yadda', ); my $message = $outlook-&gt;create(%hash); $message-&gt;display(%hash); $message-&gt;send(%hash); </code></pre> <p>Note that the <a href="http://en.wikipedia.org/wiki/.invalid" rel="nofollow">.invalid TLD</a> is not real, so the address above will not deliver. In any case, I've put here a decent explanation of things in the module - this sends a message!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload