I want to mail excel sheet to mail id which is present in excel sheet how i do this can anyone tell me about this?
Hi @yogitagaikwad2206 ,
-
Excel Application Scope
- Read Range (Excel file) - Output DataTable: dtEmails
-
For Each Row (ForEachRow activity) - Input: dtEmails
-
Assign - emailAddress = row(“Email”).ToString()
-
Send SMTP Mail Message
- Properties:
- To: emailAddress
- Subject: “Your Subject Here”
- Body: “Your email body content here”
- Attachments: Add attachment if needed
- SMTP Server, Port, Credentials: Set your SMTP server details
- Properties:
-
Thanks,
Vinit Mhatre
- Use the read range activity to read the excel in which you have the mailid/ mailid’s
- Then use for each row in datatable activity to loop
- then by using send smtp activity, send the path of the file in the attach file by passing the variable and path of the file
Create IN arguments: and add your desire file path in string
1 Like
- Open the XML file in a text editor or UiPath Studio.
- Go to line 2, position 86, and examine the XML content around that location.
- Look for any syntax errors, missing or incorrect attributes, or any other issues.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.