@@ -121,7 +121,7 @@ public boolean processRow() throws HopException {
121121 }
122122
123123 // Check Attached filenames when dynamic
124- if (meta .isFilenameDynamic () && Utils .isEmpty (meta .getDynamicFieldname ())) {
124+ if (meta .isFilenameDynamic () && Utils .isEmpty (meta .getDynamicFieldName ())) {
125125 throw new HopException (BaseMessages .getString (PKG , "Mail.Log.DynamicFilenameFielddEmpty" ));
126126 }
127127
@@ -372,7 +372,7 @@ public boolean processRow() throws HopException {
372372 PKG , "Mail.Exception.CouldnotSourceAttachedZipFilenameField" , realZipFilename ));
373373 }
374374 }
375- data .zipFileLimit = Const .toLong (resolve (meta .getZiplimitsize ()), 0 );
375+ data .zipFileLimit = Const .toLong (resolve (meta .getZipLimitSize ()), 0 );
376376 if (data .zipFileLimit > 0 ) {
377377 data .zipFileLimit = data .zipFileLimit * 1048576 ; // Mo
378378 }
@@ -385,7 +385,7 @@ public boolean processRow() throws HopException {
385385 if (meta .isFilenameDynamic ()) {
386386 // cache the position of the attached source filename field
387387 if (data .indexOfSourceFilename < 0 ) {
388- String realSourceattachedFilename = meta .getDynamicFieldname ();
388+ String realSourceattachedFilename = meta .getDynamicFieldName ();
389389 data .indexOfSourceFilename =
390390 data .previousRowMeta .indexOfValue (realSourceattachedFilename );
391391 if (data .indexOfSourceFilename < 0 ) {
@@ -398,7 +398,7 @@ public boolean processRow() throws HopException {
398398 }
399399
400400 // cache the position of the attached wildcard field
401- if (!Utils .isEmpty (meta .getSourcewildcard ()) && data .indexOfSourceWildcard < 0 ) {
401+ if (!Utils .isEmpty (meta .getSourceWildCard ()) && data .indexOfSourceWildcard < 0 ) {
402402 String realSourceattachedWildcard = meta .getDynamicWildcard ();
403403 data .indexOfSourceWildcard =
404404 data .previousRowMeta .indexOfValue (realSourceattachedWildcard );
@@ -412,8 +412,8 @@ public boolean processRow() throws HopException {
412412 }
413413 } else {
414414 // static attached filenames
415- data .realSourceFileFoldername = resolve (meta .getSourcefilefoldername ());
416- data .realSourceWildcard = resolve (meta .getSourcewildcard ());
415+ data .realSourceFileFoldername = resolve (meta .getSourceFileFolderName ());
416+ data .realSourceWildcard = resolve (meta .getSourceWildCard ());
417417 }
418418 }
419419
@@ -423,7 +423,7 @@ public boolean processRow() throws HopException {
423423 data .embeddedMimePart = new HashSet <>();
424424 try {
425425 for (int i = 0 ; i < meta .getEmbeddedImages ().size (); i ++) {
426- String imageFile = resolve (meta .getEmbeddedImages ().get (i ).getEmbeddedimage ());
426+ String imageFile = resolve (meta .getEmbeddedImages ().get (i ).getEmbeddedImage ());
427427 String contentID = resolve (meta .getEmbeddedImages ().get (i ).getContentId ());
428428 image = HopVfs .getFileObject (imageFile , variables );
429429
@@ -616,7 +616,7 @@ public String sendMail(
616616
617617 protocol = "smtp" ;
618618 if (meta .isUsingSecureAuthentication ()) {
619- if (meta .isUsexoauth2 ()) {
619+ if (meta .isUseXOAuth2 ()) {
620620 data .props .put ("mail.smtp.ssl.enable" , "true" );
621621 data .props .put ("mail.smtp.auth.mechanisms" , "XOAUTH2" );
622622 }
0 commit comments