Solved

Sending emails

Posted on 1998-09-29
8
192 Views
Last Modified: 2010-04-06
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
Comment
Question by:webers
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 4

Expert Comment

by:BoRiS
ID: 1341211
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
 
LVL 1

Expert Comment

by:duke_n
ID: 1341212
Why not?
check out the @-mail page of the
"AHM Triton Tools"(worth to download it anyway-www.ahm.co.za).
0
 
LVL 1

Expert Comment

by:duke_n
ID: 1341213
Why not?
check out the @-mail page of the
"AHM Triton Tools"(worth to download it anyway- www.ahm.co.za).
0
 

Author Comment

by:webers
ID: 1341214
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Expert Comment

by:duke_n
ID: 1341215
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
 
LVL 4

Expert Comment

by:BoRiS
ID: 1341216
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
 
LVL 8

Accepted Solution

by:
ZifNab earned 100 total points
ID: 1341217
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
 
LVL 8

Expert Comment

by:ZifNab
ID: 1341218
something I need to say : they are cardware, so the cost is one postcard...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now