Hi,
Creating a tool to send emails to a list of recipients. Testing the tool: The emails are sent from my main email account and it works, fine.
I would like to replace the 'displayed name' (my main email address) with a display name such as "Info@...".
I believe that the following should do this but the 'sender.replace' appears not to make the replacement:
SMTP1.To.Add(txtAddress.Text)
SMTP1.Subject = txtSubject.text & " " & n
SMTP1.Body = txtMessage.text
SMTP1.Sender.Replace("michelle@souris.co.uk","Info@souris.com")
Any ideas?
Thanks for your help.