 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
David Smith Guest
|
Posted: Wed Nov 26, 2003 1:28 pm Post subject: How to send e-mails using D6 please? |
|
|
Hi - I'm using the simple Sendmail routine that's available for download
from many sites for use with Delphi - which calls the mapiSendMail routine
with code like:
result := mapiSendMail( 0, application.Handle, msg, liFlags, 0 );
The problem is that all mail sent is rejected with - we're using Outlook
2000/2002 and Exchange 2000 - the problem seemingly to be that the routine
causes the recipients e-mail 'properties' to have an E-Mail Type that's not
SMTP but is the recipients address! In other words, when I look at the
properties of the recipient - once the mail routine has failed - I get
something like the following :
Display Name : [email]davidjones (AT) thecompany (DOT) co.uk[/email]
E-Mail address : [email]davidjones (AT) thecompany (DOT) co.uk[/email]
E-Mail type : [email]davidjones (AT) thecompany (DOT) co.uk[/email]
Internet format : Send using Rich Text Format.
I can't seem to solve this.... has anyone got any great ideas or a
completely new, better way of simply sending e-mails from within a Delphi
app.
Thanks in anticipation
David Smith
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|