MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / nonEncodedRFC822StringForAddresses

Method nonEncodedRFC822StringForAddresses

src/core/abstract/MCAddress.cpp:233–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233String * Address::nonEncodedRFC822StringForAddresses(Array * addresses)
234{
235 String * result = String::string();
236 if (addresses == NULL) {
237 return result;
238 }
239 for(unsigned int i = 0 ; i < addresses->count() ; i ++) {
240 Address * address = (Address *) addresses->objectAtIndex(i);
241 if (i != 0) {
242 result->appendString(MCSTR(", "));
243 }
244 result->appendString(address->nonEncodedRFC822String());
245 }
246 return result;
247}
248
249String * Address::description()
250{

Callers

nothing calls this directly

Calls 4

objectAtIndexMethod · 0.80
appendStringMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected