Solved

ESMTP(STARTTLS)

Posted on 2006-11-23
4
859 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
Comment Utility
gmail does not use port 25 for smtp use port 465
0
 

Author Comment

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

Expert Comment

by:sg405222
Comment Utility
It also need SSL authentication when sending
0
 

Author Comment

by:ddipro
Comment Utility
how to provide it with SSL authentication
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now