title: Application crashing due to NSInvalidArgumentException
body: <pre><code>-(IBAction)send:(id)sender
  {
      NSString *message = [NSString stringWithFormat:@"\r\rThis is a report from the Arabian Bully Box iOS mobile application:\r\rName of victim = %@ \rName of Bully = %@ \rLocation = %@ \rDate(s) of Incident = %@ \rWitnesses = %@ \rDescription = %@", nameVictom.text, nameBully.text, location.text, date.text, witness.text, description.text];
  
  //    label.text = message;
      NSLog(@"%@", message);
  
      nameVictom.text = @"";
      nameBully.text = @"";
      location.text = @"";
      date.text = @"";
      witness.text = @"";
      description.text = @"";
  
      label.text = @"Thank you for your help.";
      label.textColor = [UIColor blackColor];
      label.shadowColor = [UIColor clearColor];
  
      send.enabled = NO;
  
      NSLog(@"Start eMail");
  
  
      SKPSMTPMessage *smtpTestMessage = [[SKPSMTPMessage alloc] init];
      smtpTestMessage.fromEmail = @"***@gmail.com";
      smtpTestMessage.toEmail = @"***@yahoo.com";
      smtpTestMessage.relayHost = @"smtp.gmail.com";
      smtpTestMessage.requiresAuth = YES;
      smtpTestMessage.login = @"***@gmail.com";
      smtpTestMessage.pass = @"***";
      smtpTestMessage.subject = @"Bully Box Submission";
      smtpTestMessage.wantsSecure = YES;
  
      smtpTestMessage.delegate = self;
  
      NSDictionary *plainPart = [NSDictionary dictionaryWithObjectsAndKeys:kSKPSMTPPartContentTypeKey,
          message,kSKPSMTPPartMessageKey,kSKPSMTPPartContentTransferEncodingKey, nil];
  
  //    NSDictionary *plainPart =  @{
  //                                 message: kSKPSMTPPartContentTypeKey,
  //                                 kSKPSMTPPartContentTransferEncodingKey: kSKPSMTPPartMessageKey
  //                                 };
  
  
      smtpTestMessage.parts = [NSArray arrayWithObject:plainPart];
  
      [NSString stringWithFormat:@"%@",message];
  
      NSLog(@"\r\r\rAbout to send\r\r\r");
  
      [smtpTestMessage send];
      NSLog(@"sent");
  }
  </code></pre>
  
  <p>Whenever I run this, I press the "send" button, and the eMail almost sends until I come across this:</p>
  
  <pre><code>Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-     [__NSCFString appendString:]: nil argument'
  </code></pre>
  
  <p>I feel as though I have tried EVERYTHING. I apologize for being so blunt, but I have been stumped on this for quite awhile! I am honestly about ready to give up. Thank you in advance for any help! Thank you for even looking at this post! xD &lt;3</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Okay. So smtpTestMessage.parts is coming back nil. It is set up as a NSArray. How do I put the NSString "message" into an NSArray for smtpTestMessage.parts? Once this is solved, the application should work. </p>
  
  <p>Honestly, if I can put ANYTHING in smtpTestMessage.parts, it should work. As long as it doesnt come back as nil.</p>