|
Hi friends
Is anyone knows about SMTP Authorization 'AUTH PLAIN' and how can create user & password string for 'AUTH PLAIN'
thanks in advance
-kk.tvm-
|
|
|
|
|
First result of a quick Google search.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
kk.tvm wrote: how can create user & password string for 'AUTH PLAIN'
It is documented in RFC 4954[^], here a pseudo code:
CString sText = sUsername + '\0' + sUsername + '\0' + sPassword;
sAuthentication.Format("AUTH PLAIN %s\r\n", (LPCSTR)Base64Encode(sText, sText.GetLength());
This should work if not already supported in a SMTP client. Hope it helps.
/M
|
|
|
|
|
|
The "Gimme Codez" section was removed from this forum a long time ago...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
You are hoping wrongly. Noone will make your work for you, if you don't pay for it, and even then, probably noone will do it either.
Maybe you don't find any useful code for you, but there is quite a lot results[^] for the theory. Start reading and coding your own, and when you have concrete questions, then try it again. You'll probably get more satisfactory answers than now.
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
tokime wrote: i’m doing my final year project using neural network and matlab.
tokime wrote: I really need the source code for my project.
Try writing it, it's your project, and no doubt you expect to get a qualification based on this.
MVP 2010 - are they mad?
|
|
|
|
|
|
Hi,
I'm using a custom CListCtrl to display my configuration settings, but I want to separate different sections with an item which has a different background colour.
Is it possible to change the background colour of a single item?
TIA
Tony
|
|
|
|
|
|
In addition to <<_Superman_>> answer, if you want to perform yourself the task then checkout this article [^] and have a look at the source code.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Excellent,
Just what I needed.
Thanks guys.
Tony
|
|
|
|
|
You are welcome.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi to all.
I have a CTabCtrl on my CDialog containing two tabs, I've added two dialog window (style child, border none) to those tabs. When my second tab is selected (shows second wnd) a resizing mark is shown on right bottom corner. This is not happening with first tab. How cam I remove that mark?
I don't want to have resizing option, the tab rectangle is sufficient to hold the biggest dialog size.
Hope I've made myself clear, and thanks in advance.
|
|
|
|
|
I'll try to explain again in hope of yours help.
one of my tabs contains an CDialog based window (myDlg), the problem is when tab is selected (shown) a myDlg window is shoving a resizing triangle in right down corner (also when resizing myDlg goes blank white ). How can I remove that triangle, myDlg is created with child style and border: none
|
|
|
|
|
Solved.
I totally forget about resizing class included for my dlg. Sorry for my mistake.
|
|
|
|
|
Hi all,
please tell me how can i handle a function when exe close from task manager.
please explain me with example.
thanks in advance.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
What do you mean by "handle a function" ?
|
|
|
|
|
like use Messagebox on closing.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
When an executable is 'killed' from task manager (by choosing "End Process"), the process will die abruptly and silently. I don't think there's a chance given to the process itself to execute any code in such a case. This is by design.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
If the user tries to close your app from the task manager on the Applications page (End Task), you can handle that by catching the WM_CLOSE message. However, it the user kills your app from the Processes page (End Process), then you're probably out of luck.
Hope that helps.
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
|
|
|
|
|
thanks.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
Hi,
I run a application uses command line. After running, it provides a monitor console for interacting with it. It also takes a command to intract i.e CTRL-ALT-2. How I can give this command through any other method. My mean to say using programming, How could I do that?
|
|
|
|
|
Hi All
How to create excel 2007 file through vc code?Plz help me
|
|
|
|
|