Send SMTP Mail Message: Value cannot be null. Parameter name: fileName

image 1

Hi
Welcome to uipath community
If we have created any IN argument in ATTACH FILE property then we need to mention the file path of the file

Cheers @KP6689

2 Likes

Thanks @Palaniyappan for your quick and prompt reply. If this the field that you are talking about:

I guess, I did enter the details properly.

Please suggest,

1 Like

Yah kindly delete the second IN argument here being empty and try once
@KP6689

Shout out @Palaniyappan, thanks for helping me out, was able to dispatch an email.

There were, however, two minor adjustments that were made wrt to Gmail account to make it possible viz-a-viz enabling 2-step verification and the entire app-password affair.

Regards,

PS: Is there an article/literature wrt to Bigquery mechanics that you can perhaps share before closing the thread?

1 Like

Like can I have an example if possible
So that I could share you the right one

@KP6689

Hi @Palaniyappan sorry for replying a bit late, please check the error that I have been facing:

Connect: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

thats the link that I’m referring to : https://www.cdata.com/kb/tech/bigquery-odbc-uipath.rst

pf screenshot

Fine
Do we have the Data Source files and other database drives readily installed in our system
Kindly check once that
Cheers @KP6689

Hi P, thanks for your prompt reply, now that’s the exact nature of documentation/literature that I wanted viz-a-viz 'Data Source files '& ‘Database drives’. tbh there is a need for a bit of hand-holding in here
Please support.

hi uipath users, when i do unit testing all it work properly but when i use this same code in the project.(smtp-mail-message-value-cannot-be-null-parameter-name-filename) error occur

please short out this issue.

@developermisti91 Are you attaching a File to the Mail ?

thanks for reply,yes i am attaching the file from the property

If you have created any IN Argument in attach file property, then you need to mention the file path of the file. If you already given the path then Check the file is there in a given path.

Requirement is that i m downloading pdf file fthen save it in one location then recently downloaded pdf file i want to send file in another email.
i tried it many times through IN argument but not worked then i send it through property section still i m stuck one thing is that when i tried it unit testing the it work properly but in the project it through error as mentioned above.

Could you share the screenshot of properties window.

@developermisti91 Mostly the File argument doesn’t have value, or is an Incorrect file path. While Executing as a Project use a Message Box and use the File path variable as the value, such that you can understand if the Value that is present in it is the right value or not.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.