[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

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.
0
webers
Asked:
webers
  • 3
  • 2
  • 2
  • +1
1 Solution
 
BoRiSCommented:
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
0
 
duke_nCommented:
Why not?
check out the @-mail page of the
"AHM Triton Tools"(worth to download it anyway-www.ahm.co.za).
0
 
duke_nCommented:
Why not?
check out the @-mail page of the
"AHM Triton Tools"(worth to download it anyway- www.ahm.co.za).
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
webersAuthor Commented:
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
0
 
duke_nCommented:
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?
0
 
BoRiSCommented:
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
0
 
ZifNabCommented:
hi webers, use the freeware components of F. Piette :

http://www.rtfm.be/fpiette/indexuk.htm

A nice example for sending e-mail directly (without Mapi) is there!

Regards, Zif.
0
 
ZifNabCommented:
something I need to say : they are cardware, so the cost is one postcard...
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now