cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP TO SMTP ASMA ??

Former Member
0 Kudos
74

Hello Experts.

I have a requirement where I have to archive empty files in folder and I have to just send the File name of the empty file via Mail Adapter .

There are UDF's where dynamically we can fetch the file name and send that file name in the message body of the email.

But here since the file is empty ,message mapping wont be invoked.

I know there we can achieve this  Dynamic configuration with Java mapping(Passthrough scenario) but then again is it possible to place the file name in the body of the email.

Thanks in advance

Regards

Advit

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

I know there we can achieve this  Dynamic configuration with Java mapping(Passthrough scenario) but then again is it possible to place the file name in the body of the email.

Yes indeed. Your Java mapping can read the filename from ASMA Parameters and then set the output payload as a string Filename. Check Scenario 2 in below mail.

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos


Hello Advit,

If your going to use the Java mapping for filename why dont you add the filename in the code and sent the same as content of the mail.