outlook email send/receive from vbs

G

Guest

I have a visual basic script that works great and creates an email with an attachment.

I have myItem.Display to display the email and then I have to hit the send button, and then also SEND\RECEIVE.

Is there a way to create the email, HIT THE SEND BUTTON (to put it in the outbox), and ALSO CLICK ON THE SEND/RECEIVE button to actual have it get sent and go into the Sent Items.

Thanks so much!
 
P

Paul Grieg

kdabda said:
I have a visual basic script that works great and creates an email with an attachment.

I have myItem.Display to display the email and then I have to hit the send button, and then also SEND\RECEIVE.

Is there a way to create the email, HIT THE SEND BUTTON (to put it in the outbox), and ALSO CLICK ON THE SEND/RECEIVE button to actual have it get sent and go into the Sent Items.

Thanks so much!

myItem.Send
 
Joined
Oct 12, 2022
Messages
1
Reaction score
0
Alternate option will be Open outlook and navigate to FIle > Options > Advanced >Send/Receive> set the interval time to 5 mins instead of 30 mins, this helped me to get the email as soon as I open outlook
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top