Questions tagged [mapisendmail]
11 questions
5
votes
3 answers
32-bit MAPI app with 64-bit Outlook
The 32-bit version of our app is unable to send email using MAPISendMail with 64-bit Outlook installed. It returns an error 0x80004005, about which I can find little information beyond the fact that it seems to be a MAPI initialization…

chrisd
- 853
- 1
- 9
- 23
4
votes
3 answers
MAPISendMail with Outlook sometimes results in winmail.dat
I am using MAPISendMail() in an MFC application, and am having a problem that webmail clients sometimes receive a winmail.dat attachment, instead of the "real" attachments.
I have researched a lot, and have found that others are experiencing this…

namezero
- 2,203
- 3
- 24
- 37
3
votes
4 answers
C++ SimpleMAPI SendMail always fails?
I am trying to use SimpleMAPI to display a 'write message' dialogue with an attachment on Vista SP1 with either Windows Mail or Thunderbird in a C++ app (Borland C++ Builder 2006). I should be able to use MAPISendMail to do this.
I don't fill in a…

QAZ
- 4,870
- 6
- 36
- 50
3
votes
1 answer
SMTP -> ERROR: Failed to connect to server: The following From address failed: : Called Mail() without being connected Mailer Error
I have been stuck here for almost a week. I actually followed the steps in the tutorials, but had no luck. I downloaded this phpmailer and got version 5.4.2. the code below is an example of this downloaded phpmailer but it does not work for me. I…

Danilo Escapa
- 141
- 1
- 2
- 10
2
votes
1 answer
Delphi MapiSendMail Crashes on Windows 7 64-bit
I have windows 7 64-bit and my delphi sendmail crashes when trying to send an email for the second time or sometimes even just waiting for the first send mail to complete. Same application works with windows vista.
Below is my test procedure in…

user474079
- 65
- 2
- 6
1
vote
1 answer
Delphi MapiSendMail returns MAPI_E_USER_ABORT
I´m calling MapiSendMail like this:
lErrorCode := MapiSendMail(0, GetModuleHandle(nil), lMessage, MAPI_DIALOG or MAPI_LOGON_UI or MAPI_NEW_SESSION, 0);
On my dev server (Win 2016) this returns 0 and opens a new message in outlook (standard mapi…

JonasK
- 149
- 2
- 8
1
vote
3 answers
MAPISendMail doesn't work when Outlook is running
I've been using Mapi32 from a Winforms app to send bring up a new mail message with attachments for a while now, and it's worked really well. (Yes, I'm aware that calling into MAPI32 from C# is not supported.)
Within the last few days, it has…

Jon Dewees
- 2,957
- 6
- 31
- 38
1
vote
2 answers
How do i set up an application on windows to respond to MAPISendMail calls?
The MAPISendMail function is available on windows so that an application can request that an email be sent. Windows will route the request to whichever email client is configured as the default provider.
How do I write an application so that it will…

Frank
- 1,003
- 2
- 13
- 19
0
votes
1 answer
Appscript Send Email Attachment Image
I use this code to send an email with an attachment, and it works perfectly!
However, I can only attach .PDF file
How could I allow image attachment?
Thanks anyone who can help.
function sendEmails() {
const ss = SpreadsheetApp.getActive();
…

Alvim Silva
- 1
- 2
0
votes
0 answers
How to use MAPISendMail with gmail
I have a problem with using MAPISendMail with gmail. It's work really good with outlook, but my main goal to use it with gmail. Is that even possible? What I would like to do, is to open gmail with a new message with a to addres, and an attachment.…

KoB81
- 47
- 7
0
votes
1 answer
List of emails clients which MAPISendMail can work
Can someone give me a list of Client email programs which MAPI (MAPISendMail function) can be used on. I know I can use MAPI functionality in OUTLOOK, however I need to know does it support other emails clients like Thunderbird or Lotusnotes.

Vikas Sawant
- 43
- 1
- 10