Consulting

Results 1 to 2 of 2

Thread: Autosent mail

  1. #1
    VBAX Mentor
    Joined
    Nov 2008
    Posts
    305
    Location

    Autosent mail

    Hi,
    I'm trying to use a program to automatically send an email.
    And it works.
    The problem is that before the email (Outlook) can SEND the email, it comes up with a warning as seen in the attached image.
    Is there anyway to code this out of the system (as part of the intial code)?
    [VBA]With EmailItem
    .bodyformat = 2
    .htmlbody = emailtextstart & emailtext1 & emailtext2 & emailtextend
    .send
    End With[/VBA]

    Thanks

  2. #2
    VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    This may be the solution you are looking for. Click here
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

Posting Permissions

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