Posted on 2006-11-23
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.

Question by:ddipro
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
  • 2
  • 2

Accepted Solution

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

Author Comment

ID: 18002038
i have done it using 465 port but it is giving same error

Expert Comment

ID: 18002051
It also need SSL authentication when sending

Author Comment

ID: 18002077
how to provide it with SSL authentication

Featured Post

Independent Software Vendors: 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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

695 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