Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to send e-mail with PowerBuilder

Status
Not open for further replies.

Tentacle

Programmer
Nov 10, 2000
34
ZA
Hi all, I wonder if someone can help me, I’m using PB10 and would like to send e-mail with an application I wrote but using MAPI is not good enough unless someone knows how to specifically tell the MAPI command that I want to use a certain account on outlook express as it seems to always look for MS Outlook, and even then there is no way to control it completely. I want the user to pre-setup an e-mail smtp account and then use that without any other e-mail prompts popping up all over the place. Is there like a good (and preferably free) COM object or something out there or has anybody successfully added e-mail to their PB program without any hassles. I only need to send not recieve e-mail so SMTP is all I would look at... I’ve looked everywhere so any help will be greatly appreciated. Thanks everyone. Cheers

Tentacle
 
If you use MS SQLServer you could use it to send emails and then have your PB app write to a table which is monitored by the database so it knows when, were, and what to send the message.

Matt

"Nature forges everything on the anvil of time
 
Sorry not using MS SQLServer, in fact using Firebird, plus I want to send an attachment in certain cases as well. Does anyone maybe know of a good website to read up on e-mail with PB (any version)? Thanks for the help so far though Matt. Cheers
 
i used to have the exact same problem and looked around everywhere without any result, too. then i decided to "source out" the task:
i now use a delphi-dll that wraps indy-components to send mail without mapi.
check my website for a prototype of it called "mailbot":
sthcomputing.de, i could give you the code on demand...

__________________________________________
a programmer is a tool converting coffee into code...
aschi666, sthcomputing.de
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top