Adding Name in "CDO.Message" email

Results 1 to 2 of 2

Thread: Adding Name in "CDO.Message" email

  1. #1
    Join Date
    Dec 1969

    Default Adding Name in "CDO.Message" email

    Hi I could not find out how to add the Senders Name and recipient name in the email using "CDO.Message"<BR><BR>THis is the code I am using which works well.<BR><BR>Set Mailer = CreateObject("CDO.Message") <BR> <BR>Mailer.Subject = "Hey Check This Out!"<BR>Mailer.From = tmpMyEmai &#039;tmpMYfirstname &" "& tmpMYlastname <BR>Mailer.To = femail(i) &#039; fname(i)<BR>Mailer.TextBody = txtmessage <BR>Mailer.send<BR><BR><BR>I want to add My first name , last name and recipient name so that in the mail the recipient will see the name insted of the email.<BR><BR>thanks in advance :)<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default I think one of the standard formats...

    ...for e-mail recipients and senders is this:<BR><BR>&#039;My Name and whatever else&#039; &#060;;<BR><BR>So for example:<BR><BR>&#039;Oliver Jabberwocky&#039; &#060;;<BR><BR>Oliver.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts