After Jailbreaking and Unlocking it's possible that the MMS function will not work. I used these settings to get my iPhone 3g iOS 4.0.1 working in T-Mobile.
- Go to Settings > General > Network > Cellular Data Network
- Input the following:
APN: wap.voicestream.com
Username:
Password:
MMSC: 216.155.174.84/servlets/mms
MMS Proxy: 216.155.165.50:8080
- Exit, Reboot, and Done!
I used these settings yesterday and they work. Let me know how if it works or doesn't work for you. Good luck!