Initial
This commit is contained in:
11
smtp/MAIN.CPP
Normal file
11
smtp/MAIN.CPP
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <smtp/maildlg.hpp>
|
||||
#include <smtp/mailreg.hpp>
|
||||
|
||||
int PASCAL WinMain(HINSTANCE /*hInstance*/,HINSTANCE /*hPrevInstance*/,LPSTR lpszCmdLine,int /*nCmdShow*/)
|
||||
{
|
||||
MailDlg mailDlg;
|
||||
String strString(lpszCmdLine);
|
||||
if(!strString.isNull()&&strString.strstr("mailto:"))strString=strString.betweenString(':',0);
|
||||
mailDlg.perform(strString);
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user