#include <hmg.ch>
#include "simpleio.ch"
#require "hbwin"
PROCEDURE Main()
LOCAL cSubject := "Test subject"
LOCAL cBody := "Test body"
LOCAL lMailConf := .F.
LOCAL lFromUser := .T.
LOCAL aSender := { "test from", "from@test.com" }
LOCAL aDest := { { "test to", "to@test.com", 1 } }
LOCAL aFiles := { { __FILE__, hb_FNameName( __FILE__ ) } }
2020-03-03 11_40_15-Window.png (33.98 KiB) Viewed 2397 times
Message : There is no associated email program to perform the required action. Install an email program, if one is installed, create an association in the control panel.
Post Data : Works with Outlook Express or Thunderbird
I only modified one variable and compiled the example as a new project within HMG IDE in 32 and 64 bits and it works only that I don't have mail administrators since I use Yahoo mail or gmail from the web browser.
MapiSendmail is a shortcut that calls the associated mail management application, another thing would be to use HBSendMail natively
i know that some MAPI Tool can make Problem under Windows 10
i have used a Tool call SocMAPI for many Years but it fail ( Securtiy ) under Windows 10
i have another Source using Ot4Xb which can´t open MAPI "Dialog" but it store to Out-Basket.
long ago hbsendmail was complicated to use, there was a user who needed to use it so researching I found the simplicity of CDOsys so I uploaded an example of use that helped many. As I remain the doubt of HBsendmail I continued to make an application using PoP3 I can make an example of use using Imap.