안녕하세요.
웹메일이 설치된 폴더의 Log\Login.aspx.cs에서 모바일 기기로 접속관련 부분 소스를 주석처리 해주시거나 삭제해 주시면 됩니다.
소스는 아래와 같습니다.
//2014.11.05 모바일 기기로 접속시 모바일 페이지로 이동
string smobilestr = "iPhone|iPad|Android|Mobile Safari|BlackBerry|SymbianOS|Windows CE|Opera Mini|LG|MOT|SAMSUNG|SonyEricsson";
string nsmobilestr = "Intel Mac OS|passkorea";
string strUserAgent = Request.ServerVariables["HTTP_USER_AGENT"].ToString();
strDomain = domain.GetDomain(Request.Url.Host);
string[] strchekname = smobilestr.Split('|');
string[] nstrchekname = nsmobilestr.Split('|');
int n = 0;
int j = 0;
for (n = 0; n < strchekname.Length; n++)
{
if (strUserAgent.IndexOf(strchekname[n].ToString().Trim()) > 0)
{
for (j = 0; j < nstrchekname.Length; j++)
{
if (strUserAgent.IndexOf(nstrchekname[j].ToString().Trim()) < 0)
{
string strMoveUrl = "";
if (strssl == "Y")
strMoveUrl = "
https://" + Request.Url.Host.ToString();
else
strMoveUrl = "
http://" + Request.Url.Host.ToString() + location_url;
string strAppPath = Request.ApplicationPath;
if (!strMoveUrl.EndsWith("/")) strMoveUrl += "/";
if (strAppPath.StartsWith("/") && strAppPath.Length > 1)
strMoveUrl = strMoveUrl + strAppPath.Substring(1);
if (!strMoveUrl.EndsWith("/")) strMoveUrl += "/";
strMoveUrl += "M/";
Response.Redirect(strMoveUrl);
}
}
}
}
-------------------- Original message --------------------
※ 필수입력정보 ※
▷ 제품버젼 : 5.02
▷ 오류발생 메뉴/주소 :
▷ 에러메세지 :
▷ 질문내용 :
오류인지 잘 모르겠는데 특별히 설정한 것은 없고
Nmail을 구축후모바일에서 웹주소를 입력하면 자동으로 nMail mobile 버전으로 접속됩니다
이부분을 수정하려면 어디를 수정하면 되겠습니까?