Ok thanks, fellas.
I have a lot of work to do in the next week or two, I guess.
I will let you all know if I am able to get rid of the E046 code and also pass the smog test.
I think threads posted here are much more useful when we can read about how to successfully solve particular problems and trouble codes seen on the cars.
If the original posters just disappear at the end of a thread, we never know if a certain approach was successful or not.