Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8023653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:37:23+00:00 2026-06-04T22:37:23+00:00

In my application i want to send email to multiple recipients. i am able

  • 0

In my application i want to send email to multiple recipients.
i am able to send email to one person at a time and now i want to send email to multiple recipients.

i am having a nsmutable array *sNamesArr which content the data of the recipient.
NSMutableArray *sNamesArr;

following is m code:

-(void)sendEMAIL
{
    NSLog(@"Paused state100");
    [dictUser retain];



    //Auto code


    SKPSMTPMessage *testMsg = [[SKPSMTPMessage alloc] init];


    //testMsg.fromEmail = @"Lexi mobile";//nimit51parekh@gmail.com

    testMsg.fromEmail = str_uname;
    NSLog(@"str_Uname=%@",testMsg.fromEmail);

//    str_info = [str_info stringByReplacingOccurrencesOfString:@"," withString:@""];
//    testMsg.toEmail = str_info;
//    NSLog(@"autoemail=%@",testMsg.toEmail);

    //str_info = [str_info stringByReplacingOccurrencesOfString:@"," withString:@""];

    testMsg.toEmail = str_info;
    NSLog(@"autoemail=%@",testMsg.toEmail);


    testMsg.relayHost = @"smtp.gmail.com";


    testMsg.requiresAuth = YES;


    testMsg.login = str_uname;
    NSLog(@"autoelogin=%@",testMsg.login);

    testMsg.pass = str_password;
    NSLog(@"autopass=%@",testMsg.pass);

    testMsg.subject = @"Schedule Sms And Email";


    testMsg.wantsSecure = YES; 



    NSString *sendmsg=[[NSString alloc]initWithFormat:@"%@",str_info2];
    NSLog(@"automsg=%@",sendmsg);



    testMsg.delegate = self;


    NSDictionary *plainPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/plain",kSKPSMTPPartContentTypeKey,



                               sendmsg,kSKPSMTPPartMessageKey,@"8bit",kSKPSMTPPartContentTransferEncodingKey,nil];





    testMsg.parts = [NSArray arrayWithObjects:plainPart,nil];


    [testMsg send];

   // [self DeleteRowAfterSending];
    [self performSelector:@selector(DeleteRowAfterSending) withObject:nil afterDelay:5.0];
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T22:37:24+00:00Added an answer on June 4, 2026 at 10:37 pm

    It appears that the SKPSMTPMessage class is limited to sending to a single address at a time. So it seems that you have three choices:

    1. Download the SKPSMTPMessage code and modify it to support a list of TO addresses.
    2. Write your own SMTP client library to send to multiple recipients. If you know that your messages will not contain attachments and have predictable content then the task of writing an SMTP socket client will be easier.
    3. If your app is already talking to services that you control, add a service end-point to send the emails where the phone sends the content and recipients and the service does all of the SMTP work.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my application i want send a email to one account.in one button click
I want to create one application which send email with attachment(select file from SD
In my application, I want to be able to send email. I am able
In my application i want to be able to send an email to a
I want to send an email from within my iPhone application, primarily because i
i want to write application who send email using outlook and i found this
I want to send notification from PHP application and same time it should be
I am developing a GWT application and I want to send an Email via
I want to attach a video and send email from my application. I downloaded
I have C# web application that I want it to send out an email

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.