Boost logo

Boost Users :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2006-11-08 12:48:23


On 11/8/06, Nat Goodspeed <ngoodspeed_at_[hidden]> wrote:

> > Try flushing the stream after each write.
>
> [Nat] I wondered about that -- but doesn't std::endl implicitly flush?

It sure does. The problem may be that the SMTP server expects \r\n
for end-of-line, not just \n. Thats how the RFC specifies the
protocol.

-- 
Caleb Epstein

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net