Hi there,
I wanna develop the Sending mail by oSmtp in C++ code just by adding "cin/getline" in my project!
Does anyone know how can I use cin/getline in oSmtp following the example :
  oSmtp->LicenseCode = _T("TryIt");
	string MailTo;
	string Sub;
	oSmtp->FromAddr = _T("MailFrom");
    oSmtp->AddRecipientEx(_T("iss....@gmail.com"), 0);
	cout<<"Enter Subject: ";
	cin>>Sub;
	oSmtp->Subject=Sub; //but it doesn't work!
thanks in advance!