Subversion Repositories SmartDukaan

Rev

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

Rev 16524 Rev 16530
Line 609... Line 609...
609
                }else{
609
                }else{
610
                	try{
610
                	try{
611
                		SendGrid sendgrid = new SendGrid("profitmandi", "pma20aug");
611
                		SendGrid sendgrid = new SendGrid("profitmandi", "pma20aug");
612
                		SendGrid.Email email = new SendGrid.Email();
612
                		SendGrid.Email email = new SendGrid.Email();
613
                		email.setFrom(CRMConstants.PROFIT_MANDI_EMAIL_SENDER);
613
                		email.setFrom(CRMConstants.PROFIT_MANDI_EMAIL_SENDER);
-
 
614
                		email.setFromName("ProfitMandi");
614
                		email.addTo(customerEmailId);
615
                		email.addTo(customerEmailId);
615
                		email.addBcc("backup@saholic.com");
616
                		email.addBcc("backup@saholic.com");
616
                		email.setSubject(subject);
617
                		email.setSubject(subject);
617
                		email.setHtml(body);
618
                		email.setHtml(body);
618
                		sendgrid.send(email);                		
619
                		sendgrid.send(email);