Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

ESMTP(STARTTLS)

Posted on 2006-11-23
4
Medium Priority
?
876 Views
Last Modified: 2013-11-20
I am trying to send mail using SMTP .My code is working fine when i m sending it to my smtp server but when i try to send mail to yahoo or gmail smtp sever its gives an error
554:SMTP server not ready for data
554:no valid recipient client host rejected.
And when i m trying to send mail using yahoo or gmail its giving an error
530:SMTP Server Error
530:5.7.0 Must issue a STARTTLS Command
I m using Class CSocket
Can anybody please help in doing so.
Thanxs

0
Comment
Question by:ddipro
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
sg405222 earned 1000 total points
ID: 18002000
gmail does not use port 25 for smtp use port 465
0
 

Author Comment

by:ddipro
ID: 18002038
i have done it using 465 port but it is giving same error
0
 
LVL 5

Expert Comment

by:sg405222
ID: 18002051
It also need SSL authentication when sending
0
 

Author Comment

by:ddipro
ID: 18002077
how to provide it with SSL authentication
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses
Course of the Month13 days, 9 hours left to enroll

580 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