How to solve smtp mail reference to non shared member?

Hello everyone,

I’m getting error in smpt mail body please check below image.

When I run the bot it’s working and I’m getting mail also but that error is still there how do I solve this error.

Thanks

1 Like

Hi @suraj_gaikwad

I think the error may be because of extra double quote at the start and end. Try the below text instead.

"Dear Team," + vbLf + vbLf + exception.Source + vbLf + exception.Message + vbLf + vbLf + "Thank you," + vbLf + "RPA BOT"

Hope it helps!!

1 Like

@suraj_gaikwad

Remove the DOT (.) after “RPA BOT”". or put dot in “RPA ROT.” or it may be because of double quotes also.
If you want to put double quotes then try this:

"""Hello Team"+vbCr+"Have a nice day"""
1 Like

@suraj_gaikwad

Ideally i dont see any issue…also when there is an error ot would fail at compilation only…are you sure it is running?

Can you attach a sample here

Try to remove the activtiy completely and readd and check

Cheers

1 Like

Bot is running fine and I’m getting mail also with exception screen short but when I open the mail body there i can see the error

@Parvathy
@rlgandu
@Anil_G

Thanks

Hi @suraj_gaikwad

May be you are using the latest version of UiPath Studio Community version which has an bug like when you open Advanced Editor an error occurs. But they have released an another update yesterday where that particular error problem doesn’t occur.

Regards

Still I haven’t updated latest version


@rlgandu
@Anil_G
@Parvathy

@suraj_gaikwad

Is it creating any problem
In publish?

Try to change the mail packages version and check

Cheers

Ok ! Let me check with mail package

While running the it’s not throwing any type of error but once I open the advance editor then error shows.

@Anil_G

Thanks

1 Like

@suraj_gaikwad

When publishing and all if you are not getting an issue may be its a glitch…mostly by changing package it should sort

Cheers

Issue solve I have updated latest version 14.2.1

@Anil_G
@rlgandu
@Parvathy

Thanks

1 Like

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