Solved

ESMTP(STARTTLS)

Posted on 2006-11-23
4
866 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 500 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.

808 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