Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
EmailArchivingJobDocumentationTest.php
1 <?php
2  /*********************************************************************************
3  * Zurmo is a customer relationship management program developed by
4  * Zurmo, Inc. Copyright (C) 2017 Zurmo Inc.
5  *
6  * Zurmo is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Affero General Public License version 3 as published by the
8  * Free Software Foundation with the addition of the following permission added
9  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
10  * IN WHICH THE COPYRIGHT IS OWNED BY ZURMO, ZURMO DISCLAIMS THE WARRANTY
11  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
12  *
13  * Zurmo is distributed in the hope that it will be useful, but WITHOUT
14  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15  * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Affero General Public License along with
19  * this program; if not, see http://www.gnu.org/licenses or write to the Free
20  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21  * 02110-1301 USA.
22  *
23  * You can contact Zurmo, Inc. with a mailing address at 27 North Wacker Drive
24  * Suite 370 Chicago, IL 60606. or at email address contact@zurmo.com.
25  *
26  * The interactive user interfaces in original and modified versions
27  * of this program must display Appropriate Legal Notices, as required under
28  * Section 5 of the GNU Affero General Public License version 3.
29  *
30  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
31  * these Appropriate Legal Notices must retain the display of the Zurmo
32  * logo and Zurmo copyright notice. If the display of the logo is not reasonably
33  * feasible for technical reasons, the Appropriate Legal Notices must display the words
34  * "Copyright Zurmo Inc. 2017. All rights reserved".
35  ********************************************************************************/
36 
38  {
39  public static $user;
40  public static $contact1;
41  public static $contact2;
42  public static $nonExistingUserEmail;
43 
44  public static function setUpBeforeClass()
45  {
46  parent::setUpBeforeClass();
47  SecurityTestHelper::createSuperAdmin();
48 
49  $user = UserTestHelper::createBasicUser('steve');
50  $user->primaryEmail->emailAddress = 'steve@example.com';
51  $user->setRight('ContactsModule', ContactsModule::RIGHT_ACCESS_CONTACTS);
52  $saved = $user->save();
53  assert('$saved'); // Not Coding Standard
54 
55  $contact1 = ContactTestHelper::createContactByNameForOwner('peter', $user);
56  $contact1->primaryEmail->emailAddress = 'peter@example.com';
57  $contact1->secondaryEmail->emailAddress = 'peter2@example.com';
58  $saved = $contact1->save();
59  assert('$saved'); // Not Coding Standard
60 
61  $contactsOrLeads = ContactSearch::getContactsByAnyEmailAddress('peter@example.com', null, null);
62 
63  $contact2 = ContactTestHelper::createContactByNameForOwner('jim', $user);
64  $contact2->primaryEmail->emailAddress = 'jim@example.com';
65  $saved = $contact2->save();
66  assert('$saved'); // Not Coding Standard
67 
68  $nonExistingUserEmail = 'jill@example.com';
69 
70  self::$user = $user;
71  self::$contact1 = $contact1;
72  self::$contact2 = $contact2;
73  self::$nonExistingUserEmail = $nonExistingUserEmail;
74 
75  Yii::app()->imap->imapUsername = 'dropbox@example.com';
76  }
77 
78  public function setup()
79  {
80  parent::setup();
81  $super = User::getByUsername('super');
82  Yii::app()->user->userModel = $super;
83  self::$user->forget();
84  self::$user = User::getByUsername('steve');
85  }
86 
91  public function testCase1A()
92  {
94 
95  $imapMessage = new ImapMessage();
96  $imapMessage->fromName = 'steve';
97  $imapMessage->fromEmail = self::$user->primaryEmail->emailAddress;
98  $imapMessage->senderEmail = self::$user->primaryEmail->emailAddress;
99  $imapMessage->to =
100  array(
101  array(
102  'name' => self::$contact1->firstName,
103  'email' => self::$contact1->primaryEmail->emailAddress
104  )
105  );
106  $imapMessage->subject = "Test Email 1a";
107  $imapMessage->htmlBody = "<strong>Email</strong> from Steve 1a";
108  $imapMessage->textBody = "Email from Steve 1a";
109 
110  $emailArchivingJob = new EmailArchivingJob();
111  $result = $emailArchivingJob->saveEmailMessage($imapMessage);
112  $this->assertTrue($result);
113 
114  $emailMessages = EmailMessage::getAll();
115  $this->assertEquals(1, count($emailMessages));
116  $emailMessage = $emailMessages[0];
117 
118  $this->assertEquals($imapMessage->subject, $emailMessage->subject);
119  $this->assertEquals($imapMessage->textBody, trim($emailMessage->content->textContent));
120  $this->assertEquals($imapMessage->htmlBody, trim($emailMessage->content->htmlContent));
121  $this->assertEquals(self::$user->primaryEmail->emailAddress, $emailMessage->sender->fromAddress);
122 
123  $this->assertEquals(1, count($emailMessage->recipients));
124  foreach ($emailMessage->recipients as $recipient)
125  {
126  $this->assertEquals(self::$contact1->primaryEmail->emailAddress, $recipient->toAddress);
127  $this->assertEquals(EmailMessageRecipient::TYPE_TO, $recipient->type);
128  }
129  $this->assertEquals(EmailFolder::TYPE_ARCHIVED, $emailMessage->folder->type);
130  }
131 
136  public function testCase1B()
137  {
139  $imapMessage = new ImapMessage();
140  $imapMessage->fromName = 'steve';
141  $imapMessage->fromEmail = self::$user->primaryEmail->emailAddress;
142  $imapMessage->senderEmail = self::$user->primaryEmail->emailAddress;
143  $imapMessage->to =
144  array(
145  array(
146  'name' => self::$contact1->firstName,
147  'email' => self::$contact1->primaryEmail->emailAddress
148  )
149  );
150  $imapMessage->cc =
151  array(
152  array(
153  'name' => '',
154  'email' => Yii::app()->imap->imapUsername
155  )
156  );
157  $imapMessage->subject = "Test Email 1b";
158  $imapMessage->htmlBody = "<strong>Email</strong> from Steve 1b";
159  $imapMessage->textBody = "Email from Steve 1b";
160 
161  $emailArchivingJob = new EmailArchivingJob();
162  $result = $emailArchivingJob->saveEmailMessage($imapMessage);
163  $this->assertTrue($result);
164 
165  $emailMessages = EmailMessage::getAll();
166  $this->assertEquals(1, count($emailMessages));
167  $emailMessage = $emailMessages[0];
168 
169  $this->assertEquals($imapMessage->subject, $emailMessage->subject);
170  $this->assertEquals($imapMessage->textBody, trim($emailMessage->content->textContent));
171  $this->assertEquals($imapMessage->htmlBody, trim($emailMessage->content->htmlContent));
172  $this->assertEquals(self::$user->primaryEmail->emailAddress, $emailMessage->sender->fromAddress);
173 
174  $this->assertEquals(1, count($emailMessage->recipients));
175  foreach ($emailMessage->recipients as $recipient)
176  {
177  $this->assertEquals(self::$contact1->primaryEmail->emailAddress, $recipient->toAddress);
178  $this->assertEquals(EmailMessageRecipient::TYPE_TO, $recipient->type);
179  }
180  $this->assertEquals(EmailFolder::TYPE_ARCHIVED, $emailMessage->folder->type);
181  }
182 
187  public function testCase2A()
188  {
190  $imapMessage = new ImapMessage();
191  $imapMessage->fromName = 'steve';
192  $imapMessage->fromEmail = self::$user->primaryEmail->emailAddress;
193  $imapMessage->senderEmail = self::$user->primaryEmail->emailAddress;
194  $imapMessage->to =
195  array(
196  array(
197  'name' => '',
198  'email' => self::$nonExistingUserEmail
199  )
200  );
201  $imapMessage->subject = "Test Email 2a";
202  $imapMessage->htmlBody = "<strong>Email</strong> from Steve 2a";
203  $imapMessage->textBody = "Email from Steve 2a";
204 
205  $emailArchivingJob = new EmailArchivingJob();
206  $result = $emailArchivingJob->saveEmailMessage($imapMessage);
207  $this->assertTrue($result);
208 
209  $emailMessages = EmailMessage::getAll();
210  $this->assertEquals(2, count($emailMessages));
211 
212  //Message with unmatched notification
213  $emailMessage = $emailMessages[0];
214  $this->assertEquals('Match archived emails', $emailMessage->subject);
215  $this->assertContains('At least one archived email message does not match any records in the system', trim($emailMessage->content->textContent));
216  $this->assertContains('At least one archived email message does not match any records in the system', trim($emailMessage->content->htmlContent));
217  $this->assertEquals('steve@example.com', $emailMessage->recipients[0]->toAddress);
218 
219  //Message archived unmatched
220  $emailMessage = $emailMessages[1];
221  $this->assertEquals($imapMessage->subject, $emailMessage->subject);
222  $this->assertEquals($imapMessage->textBody, trim($emailMessage->content->textContent));
223  $this->assertEquals($imapMessage->htmlBody, trim($emailMessage->content->htmlContent));
224  $this->assertEquals(self::$user->primaryEmail->emailAddress, $emailMessage->sender->fromAddress);
225 
226  $this->assertEquals(1, count($emailMessage->recipients));
227  foreach ($emailMessage->recipients as $recipient)
228  {
229  $this->assertEquals(self::$nonExistingUserEmail, $recipient->toAddress);
230  $this->assertEquals(EmailMessageRecipient::TYPE_TO, $recipient->type);
231  }
232  $this->assertEquals(EmailFolder::TYPE_ARCHIVED_UNMATCHED, $emailMessage->folder->type);
233  }
234 
239  public function testCase2B()
240  {
242 
243  $imapMessage = new ImapMessage();
244  $imapMessage->fromName = 'steve';
245  $imapMessage->fromEmail = self::$user->primaryEmail->emailAddress;
246  $imapMessage->senderEmail = self::$user->primaryEmail->emailAddress;
247  $imapMessage->to =
248  array(
249  array(
250  'name' => '',
251  'email' => self::$nonExistingUserEmail
252  )
253  );
254  $imapMessage->cc =
255  array(
256  array(
257  'name' => '',
258  'email' => Yii::app()->imap->imapUsername
259  )
260  );
261  $imapMessage->subject = "Test Email 2b";
262  $imapMessage->htmlBody = "<strong>Email</strong> from Steve 2b";
263  $imapMessage->textBody = "Email from Steve 2b";
264 
265  $emailArchivingJob = new EmailArchivingJob();
266  $result = $emailArchivingJob->saveEmailMessage($imapMessage);
267  $this->assertTrue($result);
268 
269  $emailMessages = EmailMessage::getAll();
270  $this->assertEquals(1, count($emailMessages));
271  $emailMessage = $emailMessages[0];
272 
273  $this->assertEquals($imapMessage->subject, $emailMessage->subject);
274  $this->assertEquals($imapMessage->textBody, trim($emailMessage->content->textContent));
275  $this->assertEquals($imapMessage->htmlBody, trim($emailMessage->content->htmlContent));
276  $this->assertEquals(self::$user->primaryEmail->emailAddress, $emailMessage->sender->fromAddress);
277 
278  $this->assertEquals(1, count($emailMessage->recipients));
279  foreach ($emailMessage->recipients as $recipient)
280  {
281  $this->assertEquals(self::$nonExistingUserEmail, $recipient->toAddress);
282  $this->assertEquals(EmailMessageRecipient::TYPE_TO, $recipient->type);
283  }
284  $this->assertEquals(EmailFolder::TYPE_ARCHIVED_UNMATCHED, $emailMessage->folder->type);
285  }
286 
291  public function testCase3A()
292  {
294 
295  $imapMessage = new ImapMessage();
296  $imapMessage->fromName = 'steve';
297  $imapMessage->fromEmail = self::$user->primaryEmail->emailAddress;
298  $imapMessage->senderEmail = self::$user->primaryEmail->emailAddress;
299  $imapMessage->to =
300  array(
301  array(
302  'name' => '',
303  'email' => Yii::app()->imap->imapUsername
304  )
305  );
306  $imapMessage->subject = "Test Email 3a";
307  $imapMessage->htmlBody = "<strong>Email</strong> from Steve 3a";
308  $imapMessage->textBody = "
309  From: John Smith <" . self::$contact1->primaryEmail->emailAddress . ">
310  Date: Thu, Apr 19, 2012 at 5:22 PM
311  Subject: Hello Steve";
312 
313  $emailArchivingJob = new EmailArchivingJob();
314  $result = $emailArchivingJob->saveEmailMessage($imapMessage);
315  $this->assertTrue($result);
316 
317  $emailMessages = EmailMessage::getAll();
318  $this->assertEquals(1, count($emailMessages));
319  $emailMessage = $emailMessages[0];
320 
321  $this->assertEquals($imapMessage->subject, $emailMessage->subject);
322  $this->assertEquals(trim($imapMessage->textBody), trim($emailMessage->content->textContent));
323  $this->assertEquals(self::$contact1->primaryEmail->emailAddress, $emailMessage->sender->fromAddress);
324 
325  $this->assertEquals(1, count($emailMessage->recipients));
326  foreach ($emailMessage->recipients as $recipient)
327  {
328  $this->assertEquals(self::$user->primaryEmail->emailAddress, $recipient->toAddress);
329  $this->assertEquals(EmailMessageRecipient::TYPE_TO, $recipient->type);
330  }
331  $this->assertEquals(EmailFolder::TYPE_ARCHIVED, $emailMessage->folder->type);
332  }
333 
338  public function testCase3B()
339  {
341 
342  $imapMessage = new ImapMessage();
343  $imapMessage->fromName = 'steve';
344  $imapMessage->fromEmail = self::$user->primaryEmail->emailAddress;
345  $imapMessage->senderEmail = self::$user->primaryEmail->emailAddress;
346  $imapMessage->to =
347  array(
348  array(
349  'name' => '',
350  'email' => Yii::app()->imap->imapUsername
351  )
352  );
353  $imapMessage->subject = "Test Email 3b";
354  $imapMessage->htmlBody = "<strong>Email</strong> from Steve 3b";
355  $imapMessage->textBody = "
356  From: John Smith <" . self::$nonExistingUserEmail . ">
357  Date: Thu, Apr 19, 2012 at 5:22 PM
358  Subject: Hello Steve";
359 
360  $emailArchivingJob = new EmailArchivingJob();
361  $result = $emailArchivingJob->saveEmailMessage($imapMessage);
362  $this->assertTrue($result);
363 
364  $emailMessages = EmailMessage::getAll();
365  $this->assertEquals(1, count($emailMessages));
366  $emailMessage = $emailMessages[0];
367 
368  $this->assertEquals($imapMessage->subject, $emailMessage->subject);
369  $this->assertEquals(trim($imapMessage->textBody), trim($emailMessage->content->textContent));
370  $this->assertEquals(self::$nonExistingUserEmail, $emailMessage->sender->fromAddress);
371 
372  $this->assertEquals(1, count($emailMessage->recipients));
373  foreach ($emailMessage->recipients as $recipient)
374  {
375  $this->assertEquals(self::$user->primaryEmail->emailAddress, $recipient->toAddress);
376  $this->assertEquals(EmailMessageRecipient::TYPE_TO, $recipient->type);
377  }
378  $this->assertEquals(EmailFolder::TYPE_ARCHIVED_UNMATCHED, $emailMessage->folder->type);
379  }
380 
385  public function testCase5A()
386  {
388 
389  $imapMessage = new ImapMessage();
390  $imapMessage->fromName = 'steve';
391  $imapMessage->fromEmail = self::$user->primaryEmail->emailAddress;
392  $imapMessage->senderEmail = self::$user->primaryEmail->emailAddress;
393  $imapMessage->to =
394  array(
395  array(
396  'name' => self::$contact1->firstName,
397  'email' => self::$contact1->primaryEmail->emailAddress
398  ),
399  array(
400  'name' => '',
401  'email' => self::$nonExistingUserEmail
402  )
403  );
404  $imapMessage->subject = "Test Email 5a";
405  $imapMessage->htmlBody = "<strong>Email</strong> from Steve 5a";
406  $imapMessage->textBody = "Email from Steve 5a";
407 
408  $emailArchivingJob = new EmailArchivingJob();
409  $result = $emailArchivingJob->saveEmailMessage($imapMessage);
410  $this->assertTrue($result);
411 
412  $emailMessages = EmailMessage::getAll();
413  $this->assertEquals(1, count($emailMessages));
414  $emailMessage = $emailMessages[0];
415 
416  $this->assertEquals($imapMessage->subject, $emailMessage->subject);
417  $this->assertEquals($imapMessage->textBody, trim($emailMessage->content->textContent));
418  $this->assertEquals($imapMessage->htmlBody, trim($emailMessage->content->htmlContent));
419  $this->assertEquals(self::$user->primaryEmail->emailAddress, $emailMessage->sender->fromAddress);
420 
421  $this->assertEquals(2, count($emailMessage->recipients));
422  $this->assertEquals(self::$contact1->primaryEmail->emailAddress, $emailMessage->recipients[0]->toAddress);
423  $this->assertEquals(EmailMessageRecipient::TYPE_TO, $emailMessage->recipients[0]->type);
424  $this->assertEquals(self::$nonExistingUserEmail, $emailMessage->recipients[1]->toAddress);
425  $this->assertEquals(EmailMessageRecipient::TYPE_TO, $emailMessage->recipients[1]->type);
426 
427  $this->assertEquals(EmailFolder::TYPE_ARCHIVED, $emailMessage->folder->type);
428  }
429 
434  public function testCase5B()
435  {
437 
438  $imapMessage = new ImapMessage();
439  $imapMessage->fromName = 'steve';
440  $imapMessage->fromEmail = self::$user->primaryEmail->emailAddress;
441  $imapMessage->senderEmail = self::$user->primaryEmail->emailAddress;
442  $imapMessage->to =
443  array(
444  array(
445  'name' => self::$contact1->firstName,
446  'email' => self::$contact1->primaryEmail->emailAddress
447  ),
448  array(
449  'name' => '',
450  'email' => self::$nonExistingUserEmail
451  )
452  );
453  $imapMessage->cc =
454  array(
455  array(
456  'name' => '',
457  'email' => Yii::app()->imap->imapUsername
458  )
459  );
460  $imapMessage->subject = "Test Email 5b";
461  $imapMessage->htmlBody = "<strong>Email</strong> from Steve 5b";
462  $imapMessage->textBody = "Email from Steve 5b";
463 
464  $emailArchivingJob = new EmailArchivingJob();
465  $result = $emailArchivingJob->saveEmailMessage($imapMessage);
466  $this->assertTrue($result);
467 
468  $emailMessages = EmailMessage::getAll();
469  $this->assertEquals(1, count($emailMessages));
470  $emailMessage = $emailMessages[0];
471 
472  $this->assertEquals($imapMessage->subject, $emailMessage->subject);
473  $this->assertEquals($imapMessage->textBody, trim($emailMessage->content->textContent));
474  $this->assertEquals($imapMessage->htmlBody, trim($emailMessage->content->htmlContent));
475  $this->assertEquals(self::$user->primaryEmail->emailAddress, $emailMessage->sender->fromAddress);
476 
477  $this->assertEquals(2, count($emailMessage->recipients));
478  $this->assertEquals(self::$contact1->primaryEmail->emailAddress, $emailMessage->recipients[0]->toAddress);
479  $this->assertEquals(EmailMessageRecipient::TYPE_TO, $emailMessage->recipients[0]->type);
480  $this->assertEquals(self::$nonExistingUserEmail, $emailMessage->recipients[1]->toAddress);
481  $this->assertEquals(EmailMessageRecipient::TYPE_TO, $emailMessage->recipients[1]->type);
482 
483  $this->assertEquals(EmailFolder::TYPE_ARCHIVED, $emailMessage->folder->type);
484  }
485 
490  public function testCase6A()
491  {
493 
494  $imapMessage = new ImapMessage();
495  $imapMessage->fromName = 'steve';
496  $imapMessage->fromEmail = self::$user->primaryEmail->emailAddress;
497  $imapMessage->senderEmail = self::$user->primaryEmail->emailAddress;
498  $imapMessage->to =
499  array(
500  array(
501  'name' => self::$contact1->firstName,
502  'email' => self::$contact1->primaryEmail->emailAddress
503  ),
504  array(
505  'name' => self::$contact2->firstName,
506  'email' => self::$contact2->primaryEmail->emailAddress
507  )
508  );
509  $imapMessage->subject = "Test Email 6a";
510  $imapMessage->htmlBody = "<strong>Email</strong> from Steve 6a";
511  $imapMessage->textBody = "Email from Steve 6a";
512 
513  $emailArchivingJob = new EmailArchivingJob();
514  $result = $emailArchivingJob->saveEmailMessage($imapMessage);
515  $this->assertTrue($result);
516 
517  $emailMessages = EmailMessage::getAll();
518  $this->assertEquals(1, count($emailMessages));
519  $emailMessage = $emailMessages[0];
520 
521  $this->assertEquals($imapMessage->subject, $emailMessage->subject);
522  $this->assertEquals($imapMessage->textBody, trim($emailMessage->content->textContent));
523  $this->assertEquals($imapMessage->htmlBody, trim($emailMessage->content->htmlContent));
524  $this->assertEquals(self::$user->primaryEmail->emailAddress, $emailMessage->sender->fromAddress);
525 
526  $this->assertEquals(2, count($emailMessage->recipients));
527  $this->assertEquals(self::$contact1->primaryEmail->emailAddress, $emailMessage->recipients[0]->toAddress);
528  $this->assertEquals(EmailMessageRecipient::TYPE_TO, $emailMessage->recipients[0]->type);
529  $this->assertEquals(self::$contact2->primaryEmail->emailAddress, $emailMessage->recipients[1]->toAddress);
530  $this->assertEquals(EmailMessageRecipient::TYPE_TO, $emailMessage->recipients[1]->type);
531 
532  $this->assertEquals(EmailFolder::TYPE_ARCHIVED, $emailMessage->folder->type);
533  }
534 
539  public function testCase6B()
540  {
542 
543  $imapMessage = new ImapMessage();
544  $imapMessage->fromName = 'steve';
545  $imapMessage->fromEmail = self::$user->primaryEmail->emailAddress;
546  $imapMessage->senderEmail = self::$user->primaryEmail->emailAddress;
547  $imapMessage->to =
548  array(
549  array(
550  'name' => self::$contact1->firstName,
551  'email' => self::$contact1->primaryEmail->emailAddress
552  )
553  );
554  $imapMessage->cc =
555  array(
556  array(
557  'name' => self::$contact2->firstName,
558  'email' => self::$contact2->primaryEmail->emailAddress
559  )
560  );
561  $imapMessage->subject = "Test Email 6b";
562  $imapMessage->htmlBody = "<strong>Email</strong> from Steve 6b";
563  $imapMessage->textBody = "Email from Steve 6b";
564 
565  $emailArchivingJob = new EmailArchivingJob();
566  $result = $emailArchivingJob->saveEmailMessage($imapMessage);
567  $this->assertTrue($result);
568 
569  $emailMessages = EmailMessage::getAll();
570  $this->assertEquals(1, count($emailMessages));
571  $emailMessage = $emailMessages[0];
572 
573  $this->assertEquals($imapMessage->subject, $emailMessage->subject);
574  $this->assertEquals($imapMessage->textBody, trim($emailMessage->content->textContent));
575  $this->assertEquals($imapMessage->htmlBody, trim($emailMessage->content->htmlContent));
576  $this->assertEquals(self::$user->primaryEmail->emailAddress, $emailMessage->sender->fromAddress);
577 
578  $this->assertEquals(2, count($emailMessage->recipients));
579  $this->assertEquals(self::$contact1->primaryEmail->emailAddress, $emailMessage->recipients[0]->toAddress);
580  $this->assertEquals(EmailMessageRecipient::TYPE_TO, $emailMessage->recipients[0]->type);
581  $this->assertEquals(self::$contact2->primaryEmail->emailAddress, $emailMessage->recipients[1]->toAddress);
582  $this->assertEquals(EmailMessageRecipient::TYPE_CC, $emailMessage->recipients[1]->type);
583 
584  $this->assertEquals(EmailFolder::TYPE_ARCHIVED, $emailMessage->folder->type);
585  }
586  }
587 ?>
static getByUsername($username)
Definition: User.php:49
static deleteAll()
static getContactsByAnyEmailAddress($emailAddress, $pageSize=null, $stateMetadataAdapterClassName=null, $autoCompleteOptions=null)
static getAll($orderBy=null, $sortDescending=false, $modelClassName=null)
Generated on Thu Aug 6 2020 07:10:30
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.