Using SMTP to send a csv file to gmail occurred error

I want to use SMTP to send a csv file to gmail, but it occurred error :disappointed_relieved: I can’t find the mistake, Can someone help me please :sob:

Hi @yahmpt

Can you try as below :-


Note :- Enter above without double quotes

Mark as solution and like it if this helps you :slight_smile:

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:


use full path of the file / Remove the ", as it is extra i believe

Mark as solution if this helps


Hi @yahmpt

If the file is in workflow folder itself

Use this code


If the file is outside u have to completely specify the path to that file

If I am not wrong, u are saying are sending a csv file, but instead u are sending text file of same name which may not exist
( in my code I had specified it as csv file)

Please verify that too

Hope it helps

Please mark it as solution if it helps

Nived N :robot:

Happy Automation :relaxed::relaxed::relaxed: