BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to send e-mails using D6 please?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
David Smith
Guest





PostPosted: Wed Nov 26, 2003 1:28 pm    Post subject: How to send e-mails using D6 please? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.