Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 1426 → Rev 1427

/branches/v3/impl/src/java/pt/estgp/estgweb/utils/Email.java
34,6 → 34,21
private String fromName = null;
 
 
public Email cloneEmailForJob(){
Email email = new Email(subject,recipients,from,emailTemplateName,arguments,type);
email.systemAssumingTestEmail = this.systemAssumingTestEmail;
email.isHtml = this.isHtml;
email.subject = this.subject;
email.recipients = this.recipients;
email.type = this.type;
email.from = this.from;
email.emailTemplateName = this.emailTemplateName;
email.arguments = this.arguments;
email.fromName = this.fromName;
return email;
}
 
 
public boolean isHtml() {
return isHtml;
}
169,6 → 184,10
 
public void setType(Message.RecipientType type)
{
this.type = type;
//TODO WHEN BACK TO BCC REMOVE this
this.type = Message.RecipientType.TO;
//this.type = type;
}
 
 
}