Search found 299 matches: mapi

Return to advanced search

send an email using the Outlook object

... object. I want the images to be embedded. ChatGPT suggests using: oAttachment.PropertyAccessor.SetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001E", "image003"). But here, I receive a link error. Lines 68, Functions/Procedures 2, pCodes 136 Embarcadero C++ ...
by Otto
Mon May 13, 2024 5:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: send an email using the Outlook object
Replies: 5
Views: 733

Re: MAPI Outlook HTML TEXT

I cannot test it but maybe oMailItem:to := cRecipient oMailItem:from := cFrom you should try Thank you. But I have tried and get an errormessage. Error description: (DOS Error -2147352570) WINOLE/1008  No exported variable: FROM   Args:     [   1] = C   hakan@objekt.com.trStack Call...
by Horizon
Wed Feb 28, 2024 1:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPI Outlook HTML TEXT
Replies: 10
Views: 1272

Re: MAPI Outlook HTML TEXT

I cannot test it but maybe

oMailItem:to := cRecipient
oMailItem:from := cFrom

you should try
by MarcoBoschi
Wed Feb 28, 2024 1:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPI Outlook HTML TEXT
Replies: 10
Views: 1272

Re: MAPI Outlook HTML TEXT

Hi,

If there is more than one account in Outlook, how can I select account that should be send from?
by Horizon
Wed Feb 28, 2024 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPI Outlook HTML TEXT
Replies: 10
Views: 1272

Re: MAPI Outlook HTML TEXT

many thanks!
by MarcoBoschi
Tue Feb 27, 2024 8:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPI Outlook HTML TEXT
Replies: 10
Views: 1272

Re: MAPI Outlook HTML TEXT

Marco: En el html no estas incluyendo el estilo css que usas. Tal vez te falte eso para darle el formato deseado. Incluye el estilo, algo asi como esto: <style type="text/css">    .moz-forward-container {      padding-top: 10px;      background-color: #ccc;    }    .WordSec...
by cmsoft
Mon Feb 26, 2024 10:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPI Outlook HTML TEXT
Replies: 10
Views: 1272

Re: MAPI Outlook HTML TEXT

Is not possible
Use OLE instead through outlook. A little problem: It requires configuration in outlook for sending 3rd parties software
by paquitohm
Mon Feb 26, 2024 6:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPI Outlook HTML TEXT
Replies: 10
Views: 1272

Re: MAPI Outlook HTML TEXT

Obviously I cut off some part of text for sensitive data <!DOCTYPE html><html>  <head><META http-equiv=Content-Type content="text/html; charset=utf-8">      </head>  <body style="word-wrap:break-word" vlink="#954F72" link="#0563C1&q...
by MarcoBoschi
Mon Feb 26, 2024 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPI Outlook HTML TEXT
Replies: 10
Views: 1272

Re: MAPI Outlook HTML TEXT

Show TEXT cBodyHtml ???

Gracias, thanks.

Regards, saludos.
by karinha
Mon Feb 26, 2024 5:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPI Outlook HTML TEXT
Replies: 10
Views: 1272

MAPI Outlook HTML TEXT

Hi, using this instruction from my fivewin program I obtain a perfect message If I use Thunderbird or David Infocenter If I use Outlook no I don't see the formatted text in the body but I see it as if it were normal text DEFINE MAIL oMail ; SUBJECT cSubject ; TEXT cBodyHtml ; FROM USER any suggestio...
by MarcoBoschi
Mon Feb 26, 2024 4:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPI Outlook HTML TEXT
Replies: 10
Views: 1272

Re: eMail with html

hi, i have read "somewhere" There is an undocumented feature of MAPISendMail for including an HTML body:    set lpszNoteText to nil (or a pointer to an empty string)    add an HTML attachment MAPI will use the html attachment as the body of ...
by Jimmy
Sun Sep 24, 2023 9:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: eMail with html
Replies: 2
Views: 371

Re: Sending HTML using MAIL

Dear Tim, I have modified FWH\samples\testmail.prg but when I try to connect to MAPI I get: there is no email associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default Programs ...
by Antonio Linares
Sat Apr 08, 2023 6:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sending HTML using MAIL
Replies: 10
Views: 1167

Re: Sending HTML using MAIL

... Unfortunately that is for Outlook 2007. Microsoft has made major changes to Outlook and ( reportedly ) is trying to remove it from handling MAPI services. They want to take it all online. Another post on this forum suggested TYPE 'txt/html' but that returns the message the object can't be ...
by TimStone
Wed Apr 05, 2023 7:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sending HTML using MAIL
Replies: 10
Views: 1167
Next

Return to advanced search

cron