- if (Result == 570) { /* 570 means we have an invalid recipient listed */
- if (havebstr("recp") &&
- havebstr("cc" ) &&
- havebstr("bcc" )) {
- recipient_bad = 1; /* TODO: and now????? */
+ if ( (Result == 570) /* invalid or missing recipient(s) */
+ || (Result == 550) /* access control problem */
+ ) {
+ if ( havebstr("recp")
+ && havebstr("cc")
+ && havebstr("bcc")
+ ) {
+ recipient_bad = 1; /* FIXME ... do something with this? */