Heat the oil in a large saucepan, add the onion, carrot, celery, garlic and sundried tomatoes, and fry for 5–10 minutes, stirring frequently, until the vegetables start to brown.
Add the minced beef and fry, stirring, until the meat is browned. Pour in the wine, the tomatoes with their juice and the beef stock. Stir in the herbs and pepper to season. Cover the pan and simmer for 30 minutes, stirring occasionally.
Meanwhile, cook the spaghetti in boiling water for 10–12 minutes, or according to the packet instructions, until al dente.
Drain the spaghetti and mix it with the meat sauce, tossing until the strands are well coated. Sprinkle with Parmesan cheese and serve at once.