Posted on 2011-02-14
Last Modified: 2012-05-11
Hi Guys

I have NMSMTP1 in a old C++ Builder 5 project. My problem is now that we have new smtp servers that requires authentication. I cant find anywhere in the object inspector to put in a username and password or that the server requires authentication.

What should i do? I really would not like to change NMSMTP because i have no knowledge in programming Borland.

I am a web programmer
Question by:tim_carter
LVL 45

Assisted Solution

Kdo earned 250 total points
ID: 34890352
Hi Tim,

You've got two issues.  :)

The first is that the Borland library is old enough that it supports early SMTP standards where authentication wasn't required to send mail.

The second is that the protocol today requires authentication so you need to be able to provide authentication tokens to send the mail.

You'll have to extend the C++ Builder library.  There are quite a few good tools out there that will work.  Here are two of them.  I've used items from both of these sites before with good success, but I'm not very familiar with these exact components.


Good Luck,
LVL 37

Accepted Solution

Geert Gruwez earned 250 total points
ID: 34892296
NMSMTP from netmasters was only used up to delphi/C builder 5

after that, netmasters component could be replaced by indy components

synapse is event better:
LVL 100

Expert Comment

ID: 35163518
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

815 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

11 Experts available now in Live!

Get 1:1 Help Now