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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 45

Assisted Solution

by:Kent Olsen
Kent Olsen 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 101

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

690 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