Customizing "Send to" Attachment Script

Status
Not open for further replies.

hhound4

New Member
Outlook version
Outlook 2013 32 bit
Email Account
Exchange Server
I am using a very helpful script ( http://www.slipstick.com/outlook/create-a-custom-send-to-shortcut/#joseph ) that enables me to select 2 attachments in windows explorer and use a custom "send to" button to mail them out. Method I am using is "Joseph's Script Method"

So far I have changed around the subject line and added some basic text in the body. My issue is that I am absolutely new to VBA and don't know enough to make further alterations. Basically I would just like to do simple things like adjust text size, text color, add spaces, bold text etc... in the body of the message. I am very familiar with HTML, is there a way to turn the body into HTML coding?

Or is there a simple place I can learn the absolute basics of VBA to just change text around?

I am using Outlook 2013, 32 bit - appreciate any help you can provide, thanks.
 

hhound4

New Member
Outlook version
Outlook 2013 32 bit
Email Account
Exchange Server
It would be like this -
oEmailitem.HTMLBody = "<p style='color:green'> whatever " & subjectStr & "</p>"

You can use either ' or " around most html elements - using ' makes it easier to code.
Thanks! All I needed!
 

questorfla

Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
I would like to ask on the same topic if there is a way to ZIP the attachments used rather than just attaching them soi can use it with files that cannot be attached unless zipped. The script works beautifully!
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
if your zip program supports command line zip, you should be able to do it. you'll need to pass the file names to the command line to create the zip.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
J Customizing Outlook 2010 with Email Address Using Outlook 2
S Customizing Connected Services in Office 2013 Pro Plus (O365) Using Outlook 1
J Customizing PST error message in Outlook Using Outlook 8
N Starting out with BCM - Customizing contact records BCM (Business Contact Manager) 1
S Customizing an Outlook 2010 Email Form Exchange Server Administration 1
X BCM: Customizing Marketing Forms BCM (Business Contact Manager) 2
D Customizing Tasks form in Outlook 2007 Using Outlook 4
J Customizing Contact Form Using Outlook 6
P Customizing Business Cards in BCM BCM (Business Contact Manager) 0
R customizing bcm for Brazil... issues BCM (Business Contact Manager) 1
D Customizing BCM BCM (Business Contact Manager) 2
T Customizing Fields in Distribution Lists Using Outlook 1
J Customizing a Rule Using Outlook 1
A customizing email sent to multiple recipients? Using Outlook 2
K help customizing Outlook &gt; Tasks &gt; Current view Using Outlook 3
K Customizing To field in OWA Exchange Server Administration 2
J Customizing fields in Outlook forms Outlook VBA and Custom Forms 1
R Real Estate Customizing BCM (Business Contact Manager) 2
PGSystemTester VBA To Change AppointmentItem.BusyStatus From MeetingItem Before Send Using Outlook 0
C Synchronizing subscribed folders causes hanging during send/receive process Using Outlook 2
M Extract all links from Outlook email, send to Excel Using Outlook 2
A VBA macro for 15 second loop in send and received just for 1 specific mailbox Outlook VBA and Custom Forms 1
O Outlook 365 - suddenly unable to send using Gmail POP3 Using Outlook 10
T After I send a new email, it remains in the Draft folder Using Outlook.com accounts in Outlook 3
B Programmatically force html send and insert clipboard contents into body Outlook VBA and Custom Forms 0
S Change VBA script to send HTML email instead of text Outlook VBA and Custom Forms 3
M ERROR: None of your email accounts could send to this recipient Using Outlook 2
C Send/receive error 80040119 Using Outlook 2
J Send Again NDR Outlook VBA and Custom Forms 1
J Add an Attachment Using an Array and Match first 17 Letters to Matching Template .oft to Send eMail Outlook VBA and Custom Forms 2
ChrisK2 Send email to advertise@slipstick.com fails: "The group advertising isn't set up to receive messages from..." Using Outlook 3
B resend if no reply and send an automatic reminder Outlook VBA and Custom Forms 0
F Send As a Gmail account via outlook Web Using Outlook 3
R auto send email when meeting closes from a shared calendar only Outlook VBA and Custom Forms 2
X Unable to send an email from one account to another on same PC Using Outlook 2
S Meeting Invite arrives from Wrong ("send-as") Sender Using Outlook 1
M VBA to send reminder email if no response Using Outlook 13
D Using a VBA Custom Form to Send Reoccurring Email Upon Task Completion Outlook VBA and Custom Forms 4
M Can't send email in outlook.com Using Outlook 9
R Can't Send calendar share invite Using Outlook 5
R Can't send messages to groups in Outlook Using Outlook 2
J Updating existing entry on shared calendar wants to send update from delegate Using Outlook 0
M Send/Receive error 0x800CCC0F Using Outlook 0
soadfan Outlook won't send e-mail when offline Outlook VBA and Custom Forms 19
B When working on emails in a certain folder, when I hit reply or reply all, I would like it re always reply all and add an email address to send to Outlook VBA and Custom Forms 3
N Outlook 2010 will not send nor receive Using Outlook 4
I Outlook 2013 Send problem - 'Not Responding' forever Using Outlook.com accounts in Outlook 10
K Delay Send and Mail Merge Outlook VBA and Custom Forms 4
A Capturing Send Variables without using Application_ItemSend in ThisOutlookSession Outlook VBA and Custom Forms 8
A Outlook - Send New 20 Attachments through Email Using Outlook 4
Similar threads


















































Top