Welcome to the forum. I would guess, from what you've provided, that your email account has either a very low size limit or some other block that is preventing attaching the photo. Are you getting the error when you attach the photo or when you try to send it? If you use your online email account via a PC can you send photos okay?
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See
this link for instructions on how to join Android Central.