FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Sending mails with Microsoft Mail
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Sending mails with Microsoft Mail
Posted: Wed Dec 30, 2020 06:07 PM

Hi,

Is there a way to send emails with the standard Microsoft Mail program of windows 10?
Normaly I send it with Outlook without any problem. A new customer use the standard Mail program of Windows 10.

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Sending mails with Microsoft Mail
Posted: Wed Dec 30, 2020 08:48 PM
I think I have to use tmail again for this customer.
I have change my code to
Code (fw): Select all Collapse
 oOutlook := GetActiveObject( "Outlook.Application" )

for html-emails
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Sending mails with Microsoft Mail
Posted: Wed Dec 30, 2020 10:23 PM

Hi,

With tmail I get a message that I have to create an outlook-profile...

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Sending mails with Microsoft Mail
Posted: Thu Dec 31, 2020 10:28 AM
I allways get the message
There is no email program associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default programs control pane


even I selected 'Mail' in the standand apps.
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Sending mails with Microsoft Mail
Posted: Thu Dec 31, 2020 02:15 PM

It seems thet there is only a problem if only the standard Windows 10 Mail is installed.
For testing, I installed Thunderbird, and that was working.

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite

Continue the discussion