sendmail 에 프로젝트업데이트하지 않은 대상 메일 발송 기능 추가 (월)
This commit is contained in:
@@ -88,6 +88,25 @@ namespace Console_SendMail
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static string GetUserEmail(string gcode, string uid)
|
||||
{
|
||||
if (string.IsNullOrEmpty(gcode) || string.IsNullOrEmpty(uid)) return string.Empty;
|
||||
var slq = "select isnull(email,'') from vGroupUser" +
|
||||
$" where gcode = '{gcode}'" +
|
||||
$" and id = '{uid}'";
|
||||
try
|
||||
{
|
||||
return ExecuteScalar(slq);
|
||||
}
|
||||
catch
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public static string GetUserTel(string gcode, string uid)
|
||||
{
|
||||
var slq = "select isnull(tel,'') from vGroupUser" +
|
||||
|
||||
Reference in New Issue
Block a user