Sending mails with Microsoft Mail

Sending mails with Microsoft Mail

Postby Marc Vanzegbroeck » Wed Dec 30, 2020 6: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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Sending mails with Microsoft Mail

Postby Marc Vanzegbroeck » Wed Dec 30, 2020 8:48 pm

I think I have to use tmail again for this customer.
I have change my code to
Code: Select all  Expand view
oOutlook := GetActiveObject( "Outlook.Application" )

for html-emails
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Sending mails with Microsoft Mail

Postby Marc Vanzegbroeck » 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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Sending mails with Microsoft Mail

Postby Marc Vanzegbroeck » 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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Sending mails with Microsoft Mail

Postby Marc Vanzegbroeck » Thu Dec 31, 2020 2: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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 48 guests