Subversion Repositories SmartDukaan

Rev

Rev 16530 | Rev 16642 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16530 Rev 16532
Line 613... Line 613...
613
                		email.setFrom(CRMConstants.PROFIT_MANDI_EMAIL_SENDER);
613
                		email.setFrom(CRMConstants.PROFIT_MANDI_EMAIL_SENDER);
614
                		email.setFromName("ProfitMandi");
614
                		email.setFromName("ProfitMandi");
615
                		email.addTo(customerEmailId);
615
                		email.addTo(customerEmailId);
616
                		email.addBcc("backup@saholic.com");
616
                		email.addBcc("backup@saholic.com");
617
                		email.setSubject(subject);
617
                		email.setSubject(subject);
618
                		email.setHtml(body);
618
                		email.setHtml("<pre>"+body+"<pre>");
619
                		sendgrid.send(email);                		
619
                		sendgrid.send(email);                		
620
                	
620
                	
621
                	} catch(Exception e){
621
                	} catch(Exception e){
622
                		log.error("Error while sending mail to user:- "+customerEmailId+" ticket Id:- "+ticket.getId(), e);
622
                		log.error("Error while sending mail to user:- "+customerEmailId+" ticket Id:- "+ticket.getId(), e);
623
                	}
623
                	}