Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
For Each File in form.files

If Len(File.FileName) > 0 Then
FileName = TempFolder & "\" & File.FileName

File.SaveAs FileName

mailMessage.AttachFile FileName
End If
Next

What I have tried:

I tried to Find the equivalent of Foreach in javascript and of Len(File.FileName) .
Posted
Updated 20-Apr-16 22:00pm
v2

1 solution

 
Share this answer
 
Comments
TarunShrivastav 21-Apr-16 4:50am    
Thank you very much :)
OriginalGriff 21-Apr-16 5:03am    
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900