Subversion Repositories SmartDukaan

Rev

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

Rev 20558 Rev 20560
Line 155... Line 155...
155
					sb.append("State : "+state);
155
					sb.append("State : "+state);
156
					sb.append("Phone : "+mobile);
156
					sb.append("Phone : "+mobile);
157
					sb.append("Category : "+category);
157
					sb.append("Category : "+category);
158
					sb.append("Message : "+msg);
158
					sb.append("Message : "+msg);
159
				}
159
				}
-
 
160
				else{
-
 
161
					throw new Exception();
-
 
162
				}
160
				SendGridMail.sendMail(mailTo, subject, sb.toString());
163
				SendGridMail.sendMail(mailTo, subject, sb.toString());
161
			}
164
			}
162
			catch(Exception e){
165
			catch(Exception e){
163
				setResult("OOPS!!!We are unable to process your request.");
166
				setResult("OOPS!!!We are unable to process your request.");
164
				return "index";
167
				return "index";