hi
i need to know how can i add multiple people in a config file of frame work to send a mail
for example : abc@gmail.com ;egf@gmail.com
and the body of the mail should be in html format
as
hi ,
above attached is the so and so attachment
Thankyou
how do i do it ?
Hi,
you can use this as config("recepients").Tostring
You can check on the html body checkbox and pass the required code for html body
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
Hi @Pooja_Kanwar ,
Use Assig activities,
Variable To store - To mail ID
MailTo(String variable) - abc@gmail.com ;egf@gmail.com
MailBody(String Variable) - “table, th, td { border:1px solid black;border-style:solid;border-radius:10px;}
Hi ,
Above attached is the So and So Attachment.
Thank You.”
In Your send mail activity you can pass this to the fields of Mail Body and Mail To.
Alternatively you can use assets also where you can store above values and using get asset can fetch the values.
make sure you enable the isBodyHTML property of Send Mail Activity.
Hope this helps you.
Happy Automating…!
Thanks,
Gautham.
Hi @Pooja_Kanwar ,
you can store the emails abc@gmail.com ;egf@gmail.com in config file in settings or can store in Asset and can use in config.
enable IsBodyHTML
This error typically occurs when UiPath is unable to access the Outlook application properly.
Hello,
Would like to ask help on the below error:
Unable to cast COM object of type ‘Microsoft.Office.Interop.Outlook.ApplicationClass’ to interface type ‘Microsoft.Office.Interop.Outlook._Application’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{00063001-0000-0000-C000-000000000046}’ failed due to the following error: Interface not registered (Exception from HRESULT: 0x80040155).",“level”:“Error”,“logType”:“Default”,“timeStamp”:“2018…
is it possible to use Send SMTP Mail Message" activity instead ?
will outlook mail go through smtp ?
Yes it is possible to use sent smtp activity
postwick
(Paul Ostwick)
April 4, 2024, 6:01pm
9
No. Outlook and SMTP are two different things. I recommend using Send SMTP Mail Message so that you don’t even need Outlook. Note that for Send SMTP Mail Message the list of email addresses needs to be separated by comma not semicolon:
someone@somewhere.com ,another@somewhere.com