Help for this page

Select Code to Download


  1. or download this
    use Win32::OLE;
    $cd = Win32::OLE->new("CDONTS.NewMail") || die $!;
    ...
    $cd->{Body}="test";
    $cd->Send;
    print Win32::OLE->LastError();
    
  2. or download this
    Dim cp As Object
    Set cp = CreateObject("CDONTS.NewMail")
    ...
         .Body = "test"
         .Send
    End With