Examples of Email


Examples of com.atlassian.jira.mail.Email


            Map<String,Object> context = newHashMap(options.getContext());
            context.put("toFullName", toName);

            Email email = new Email(toEmail);
            email.setFromName(options.getFromName());
            email.setFrom(options.getFromEmail());
            email.setSubject(render(options.getSubjectTemplate(), context));
            email.setBody(render(options.getBodyTemplate(), context));

            if (options.getReplyToEmail() != null)
            {
                email.setReplyTo(options.getReplyToEmail());
            }

            SingleMailQueueItem item = new SingleMailQueueItem(email);
            item.setMailThreader(null);
            ManagerFactory.getMailQueue().addItem(item);
View Full Code Here

Examples of com.atlassian.mail.Email

            Map<String,Object> context = newHashMap(options.getContext());
            context.put("toFullName", toName);

            SMTPMailServer server = MailFactory.getServerManager().getDefaultSMTPMailServer();
            Email email = new Email(toEmail);
            email.setFrom(options.getFromEmail());
            email.setFromName(options.getFromName());
            email.setSubject(render(options.getSubjectTemplate(), context));
            email.setBody(render(options.getBodyTemplate(), context));
            if (options.getReplyToEmail() != null)
            {
                email.setReplyTo(options.getReplyToEmail());
            }
            server.send(email);

        }
        catch (MailException e)
View Full Code Here

Examples of com.bleujin.framework.valid.validator.Email

  }

 
  public void testEmail() throws Exception {
    b.setSvalue("aA_") ;
    assertEquals(false, new Email(b, SVALIE).isValid()) ;

    b.setSvalue("abc@") ;
    assertEquals(false, new Email(b, SVALIE).isValid()) ;

    b.setSvalue("abc@ddd") ;
    assertEquals(false, new Email(b, SVALIE).isValid()) ;

    b.setSvalue("ac@ddd.cc") ;
    assertEquals(true, new Email(b, SVALIE).isValid()) ;
  }
View Full Code Here

Examples of com.cedarsoft.business.contact.communication.Email

    try {
      return findFirstActiveChannel( Email.class );
    } catch ( IllegalStateException ignore ) {
    }

    Email newChannel = new Email( "?????@????.com" );
    newChannel.setActive( true );
    addElement( newChannel );

    return newChannel;
  }
View Full Code Here

Examples of com.cloudsponge.model.Contact.Email

      }
    }
  }

  private Email parseEmail(Node emailNode) {
    final Email email = new Email();
    email.setEmailAddress(evaluateXPath("address", emailNode));
    email.setType(evaluateXPath("type", emailNode));

    return email;
  }
View Full Code Here

Examples of com.google.appengine.api.datastore.Email

  @Override
  public EvaluationResult evaluate(ProcessDataRecord record) {
    EvaluationResult r = ops.get(0).evaluate(record);
   
    if (r.getPayload() instanceof String) {
      Email val = new Email((String) r.getPayload());
      return new EvaluationResult(val, r)
    } else {
      return r.withWarning(ErrorCode.W136);
    }
  }
View Full Code Here

Examples of com.google.appengine.api.datastore.Email

    Event event = CannedQueries.eventByKey(eventKey);
   
    if (event == null)
      return new MyVillageResponse("Event with key '"+eventWebKey+"' not found");
   
    Email userEmail = new Email(userEmailString);
    Collection<Booking> bookings = CannedQueries.bookingsForEventAndEmail(eventKey, userEmail);
   
    for(Booking booking : bookings)
    {
      if (booking.getMyvillageAuthKey().equals(userKey))
View Full Code Here

Examples of com.google.appengine.api.datastore.Email

      return null;
    return email.getEmail();
  }

  public void setEmail(String email) {
    this.email = new Email(email);
  }
View Full Code Here

Examples of com.google.appengine.api.datastore.Email

    CannedQueries.bookingsForUnit(unit1, event1);
    CannedQueries.bookingsForVillage(village1);
    CannedQueries.bookingsHomeless(event1);
    CannedQueries.bookingByKey(bookings.iterator().next().getKeyCheckNotNull());
    CannedQueries.bookingsForName("Test person 2");
    CannedQueries.bookingsForEventAndEmail(event1.getKeyCheckNotNull(), new Email("email@example.com"));
    
    // Transaction queries
    Collection<Transaction> transactions = CannedQueries.transactionsForUnit(unit1, event1);
    CannedQueries.transactionsForEvent(event1);
    CannedQueries.transactionsForOrg(org1, event1);
View Full Code Here

Examples of com.guilhermechapiewski.fluentmail.email.Email

        .getProtocol());
  }

  @Test
  public void should_create_message_from_email() throws Exception {
    final Email email = context.mock(Email.class);

    final String from = "from.john@doe.com";

    final String to = "to.john@doe.com";
    final Set<String> tos = new HashSet<String>();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.