Help for this page

Select Code to Download


  1. or download this
    Sub createEmail()
        
    ...
        Set olMail = Nothing
    
    End Sub
    
  2. or download this
    my $tag = Win32::OLE::Variant->new( VT_R8, $self->{message}->GetIDsFro
    +mNames( '{00020386-0000-0000-C000-000000000046}', $name ));
    
    ...
    my $test = $tag_bin | $pt_string8;
    
    $self->{message}->Fields->Put( oct("0b$test"),  $value);
    
  3. or download this
    $self->{message}->Fields( oct("0b$test"),  $value);
    
  4. or download this
    my $array = Win32::OLE::Variant->new( VT_BSTR | VT_ARRAY, oct("0b$test
    +") );
    
  5. or download this
        use Win32::OLE::Variant;
    
    ...
        #$self->{message}->{Fields}->[$test] = $value;
    
        $self->{message}->LetProperty('Fields', $test, $value);