diff --git a/imap-send.c b/imap-send.c
index 10cce15a427646a1281afa5197f40def39151154..04afbc492485d95a85a7f0f57bbb48def6337a99 100644 (file)
--- a/imap-send.c
+++ b/imap-send.c
fprintf( stderr, "no imap store specified\n" );
return 1;
}
+ if (!server.host) {
+ fprintf( stderr, "no imap host specified\n" );
+ return 1;
+ }
/* read the messages */
if (!read_message( stdin, &all_msgs )) {