Link to home
Start Free TrialLog in
Avatar of webers
webers

asked on

Sending emails

How can I send emails without using the MAPI and without having Delphi Client/Server or Developer.
I just need to send a few lines to let the user register in my prog. Am I able to send them without the users SMTP.
Avatar of BoRiS
BoRiS

webers

No can't send mail without using the smtp component, but you can use the default internet browsers email by passing this in your code...

ShellExecute(Handle, 'open', 'mailto://yourmail@isp.com', '','', SW_SHOWNORMAL);

this will popup the default mailto form...the shellexecute allows you to pass param's aswell
so just check it out in the win32.hlp file...

Later
BoRiS
Why not?
check out the @-mail page of the
"AHM Triton Tools"(worth to download it anyway-www.ahm.co.za).
Why not?
check out the @-mail page of the
"AHM Triton Tools"(worth to download it anyway- www.ahm.co.za).
Avatar of webers

ASKER

I didn't want to use the MAPI to get them sended. Perhaps there's a way to do this within SMTP. Remember I only own D3 Standard
what do you mean only own D3 standart?
AHM triton is free and the easiest to install I've ever seen.
what's the problem?
webers

Sorry, I'm miss understanding you here, you don't need anything higher than delphi 2 to use the API I sent you, as for the SMTP been able to send email without having to code it connect to the pop server etc...I don't think this can be done.

It seems to me your only options are to send it through the default email client on the machine, or code your own SMTP client.

Later
BoRiS
ASKER CERTIFIED SOLUTION
Avatar of ZifNab
ZifNab

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
something I need to say : they are cardware, so the cost is one postcard...