I have NullReferenceException
in this line:
string from = HttpContext.GetGlobalResourceObject("globalization", "mail_from").ToString();
Because it is not finding the .resx file, so it does not find "mail_from" and gives ToString()
to null.
I have the file in the App_GlobalResources folder, called globalization.pt-BR.resx.