Sending from a Secondary Email Account in Outlook: A Guide for Data Scientists

Sending from a Secondary Email Account in Outlook: A Guide for Data Scientists
As data scientists, we often juggle multiple email accounts for various professional needs. Microsoft Outlook, a popular email client, allows us to manage multiple email accounts from a single interface. This blog post will guide you through the process of sending emails from a secondary email account in Outlook.
Setting Up a Secondary Email Account in Outlook
Before you can send emails from a secondary account, you need to add it to Outlook. Here’s how:
- Open Outlook and click on
File
>Add Account
. - Enter the email address of the secondary account and click
Connect
. - Enter your password when prompted and click
OK
. - Once the account is added, it will appear in the left-hand panel of your Outlook interface.
Sending Emails from a Secondary Account
Once your secondary account is set up, you can send emails from it. Here’s how:
- Click on
New Email
to open a new message window. - Click on
Options
>From
to display the From field. - Click on the
From
dropdown and select the secondary email account. - Compose your email and click
Send
.
Automating Email Sending with VBA
As data scientists, we often need to automate repetitive tasks. You can use Visual Basic for Applications (VBA) to automate sending emails from a secondary account in Outlook. Here’s a basic script:
Sub SendFromSecondaryAccount()
Dim OutApp As Outlook.Application
Dim OutMail As Outlook.MailItem
Set OutApp = New Outlook.Application
Set OutMail = OutApp.CreateItem(olMailItem)
With OutMail
.SentOnBehalfOfName = "secondary@domain.com"
.To = "recipient@domain.com"
.Subject = "Automated Email"
.Body = "This is an automated email."
.Send
End With
Set OutMail = Nothing
Set OutApp = Nothing
End Sub
Replace "secondary@domain.com"
with your secondary email address and "recipient@domain.com"
with the recipient’s email address. You can also customize the subject and body of the email.
Conclusion
Managing multiple email accounts doesn’t have to be a hassle. With Microsoft Outlook, you can easily send emails from a secondary account, and even automate the process with VBA. This can be a powerful tool for data scientists who need to manage various professional communications efficiently.
Keywords
- Microsoft Outlook
- Secondary Email Account
- Data Scientists
- Automate Email Sending
- Visual Basic for Applications (VBA)
Meta Description
Learn how to send emails from a secondary account in Microsoft Outlook. This guide also covers how to automate the process using VBA, making it a valuable resource for data scientists.
This blog post is part of our series on productivity tools for data scientists. Stay tuned for more tips and tricks to streamline your workflow.
About Saturn Cloud
Saturn Cloud is your all-in-one solution for data science & ML development, deployment, and data pipelines in the cloud. Spin up a notebook with 4TB of RAM, add a GPU, connect to a distributed cluster of workers, and more. Join today and get 150 hours of free compute per month.