Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quotes around Email Address

Status
Not open for further replies.

SymbionA

IS-IT--Management
Apr 16, 2007
45
AU
I have some code to send emails automatically.

The recipients are added by

objmessage.recipients.add("Test0@Test.com")
objmessage.recipients.add("Test1@Test.com")
objmessage.recipients.add("Test2@Test.com")

However, the email that has been created in Outlook has single quotes around the send addresses so... 'Test0@Test.com' - this causes undeliverable message.

How can I prevent the single quotes being added ?

Thanks in advance
 
Do you resolve the recipient after you add them?

Everybody body is somebodys Nutter.
 
Many thanks for your response!

No I don't

objmessage.recipients.resolve - is the syntax?




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top