Mail.From.Address is returning a null value in Production while works in Debug

Below post worked for me.