Solved

Sending Message through SMTP server that is requiering authentication

Posted on 2002-05-19
7
187 Views
Last Modified: 2013-11-20
i have aprogram that was used to send mails using SMTP. the people who are using the program change their exchange mail setting so it becomes need authentication to send an e-mail.
the program uses the SMTP.CCP file. i tried to  debug the program to find out where it fails , and find that it fails after sending the DATA command.

i think that i need to pass the password of the user when creating the connection. but unfortunetly i don't know how.
0
Comment
Question by:b_yousif
  • 3
  • 2
7 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 120 total points
ID: 7019965
1) You need to determine the TYPE of authentication required  by the SMTP server(s) in question.

2) You need to provide that authentication.

Since there are several possibilities, please answer #1 and we can take it from there.  You may want to review the RFC that deals with Authenticated SMTP, 2554:

http://www.faqs.org/rfcs/rfc2554.html

0
 

Author Comment

by:b_yousif
ID: 7019973
authentication required is a valid account and its password
0
 
LVL 32

Expert Comment

by:jhance
ID: 7020494
Listen, if you are just going to make wise-cracks, get your help elsewhere!
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 32

Expert Comment

by:jhance
ID: 7020528
Actually, your history as an Experts-Exchange user is quite poor.  Not only do you NOT resolve your questions but you give poor grades for no clear reason.  EXPERTS BEWARE!!!

Questions Asked 13
Last 10 Grades Given C B B A C  
Question Grading Record 5 Answers Graded / 5 Answers Received

Many open questions, some VERY old:

http://www.experts-exchange.com/jsp/qShow.jsp?ta=prodappgen&qid=20163239
http://www.experts-exchange.com/jsp/qShow.jsp?ta=mfc&qid=20284468
http://www.experts-exchange.com/jsp/qShow.jsp?ta=mfc&qid=20273330
http://www.experts-exchange.com/jsp/qShow.jsp?ta=mfc&qid=20273087
http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20300471
http://www.experts-exchange.com/jsp/qShow.jsp?ta=exchangesvr&qid=20163706
http://www.experts-exchange.com/jsp/qShow.jsp?ta=hpscanners&qid=20294291

I'm asking the EE moderators to "help" you out!
0
 

Author Comment

by:b_yousif
ID: 7020881
Dear jhance,
Thank you very much for your last note, it was realy a mistake from my side that i left some questions without accepting or rejecting them. the case was that i asked the qustion then didn't get right or full question, and then no body send again so i forget about it.

regarding my question i'm not going to make any kind of cracking the situation is exactly as i told you.
what happened is that the admin add more security to our exchange so the application is no longer send mails outside.
to compare the situattion, in outlook express, in the account's property you have to add that your server is requiring authentication.

can you give me help now.

Note,,
0
 
LVL 16

Assisted Solution

by:AlexNek
AlexNek earned 80 total points
ID: 7024428
2 b_yousif
I think that jhance wrote all what you need to know, try to look in addition
http://members.elysium.pl/brush/smtp-auth/index.html

Did you use Smtp.cpp written by PJ Naughter?
If yes then you can try to set m_From like: (PLAIN)
<info@example.com> AUTH=e+3Dmc2@example.com
You must ask you SMTP server admin for supported format.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
difference between String.subString() and String.subSequence() 6 273
sum67 challenge 35 116
haveThree challenge 22 123
sumHeights  challenge 17 80
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

730 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