debug
This commit is contained in:
		
							
								
								
									
										4
									
								
								app.js
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								app.js
									
									
									
									
									
								
							@@ -55,6 +55,8 @@ function dateStr() {
 | 
				
			|||||||
  return mm + '/' + dd + '/' + yyyy;
 | 
					  return mm + '/' + dd + '/' + yyyy;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function validatePhone()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function sendText(phone, message, cb) {
 | 
					function sendText(phone, message, cb) {
 | 
				
			||||||
  var transport = nodemailer.createTransport("SES", {
 | 
					  var transport = nodemailer.createTransport("SES", {
 | 
				
			||||||
    AWSAccessKeyID: config.aws.access,
 | 
					    AWSAccessKeyID: config.aws.access,
 | 
				
			||||||
@@ -64,7 +66,7 @@ function sendText(phone, message, cb) {
 | 
				
			|||||||
  var mailOptions = {
 | 
					  var mailOptions = {
 | 
				
			||||||
    transport: transport, // transport method to use
 | 
					    transport: transport, // transport method to use
 | 
				
			||||||
    from: "txt@textbelt.com", // sender address
 | 
					    from: "txt@textbelt.com", // sender address
 | 
				
			||||||
    to: '9147727429@vtext.com',
 | 
					    to: 'typppo@gmail.com',
 | 
				
			||||||
    subject: '', // Subject line
 | 
					    subject: '', // Subject line
 | 
				
			||||||
    text: message,
 | 
					    text: message,
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user