I want to use SMTP to send a csv file to gmail, but it occurred error I can’t find the mistake, Can someone help me please
Hi @yahmpt
Can you try as below :-
text.ToString
Note :- Enter above without double quotes
Mark as solution and like it if this helps you
Happy Automation
Best Regards
Er Pratik Wavhal
use full path of the file / Remove the ", as it is extra i believe
Mark as solution if this helps
Thanks
Hi @yahmpt
If the file is in workflow folder itself
Use this code
Environment.CurrentDirectory+“\test.csv”
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
Happy Automation