Find Jobs
Hire Freelancers

C# To Create Outlook Draft

$10-30 USD

Closed
Posted about 5 years ago

$10-30 USD

Paid on delivery
I am wanting to create ONE email for each row in my datatable where the month = current month. My code was working until I added in the conditional statement for manager name. If I comment that out and execute, it works as expected. How should I add the conditional for manager name to set the subject and body so that only ONE emaill is created? static void CreateEmails () { string subject; string body; Application oApp = new Application(); foreach (DataRow r in [login to view URL]) { if (r["month"].ToString() != [login to view URL]("MMMM")) continue; if (r["manager"].ToString() == "James") { subject = subjectJames; body = bodyJames; } else { subject = subjectStandard; body = bodyStandard; } MailItem oMsg = (MailItem)[login to view URL]([login to view URL]); [login to view URL] = body; [login to view URL] = subject; var emailAddress = [login to view URL]<string>("Email").Split(';'); foreach (var email in emailAddress) [login to view URL](email); [login to view URL](); [login to view URL](); } }
Project ID: 18960947

About the project

15 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
15 freelancers are bidding on average $26 USD for this job
User Avatar
Hi I'm c# developer with 12 years experience on .net framework and related tools, I'll fix your code to send a correct email. please send me a message to discuss more about it.
$45 USD in 1 day
4.8 (31 reviews)
5.8
5.8
User Avatar
Hi, I have read the project details and attached Code very carefully and I think I have understood that what is the problem. I have experience in C# Programming and I have completed many C#projects throughout my career as you can see in my profile and portfolio. I assure you that I can deliver 100% Quality work with fully commented Source Code so that it will be easily understood by you. I have more than 4 years of experience in C#, OOP, Data Structures, WinForms, WPF, ASP, ASP MVC, MS SQL Server, Outlook, and all other C# Based Desktop and Web Application Development technologies. I assure you that I can deliver you maximum quality work in minimum time and budget as client satisfaction is my first priority. You can see my portfolio for previous work and profile reviews for client satisfaction in my profile. If you want good quality, contact me. I am waiting for your response. Thank You.
$30 USD in 0 day
4.9 (15 reviews)
3.8
3.8
User Avatar
This is very easy fix with my experience I am a Dedicated Senior .Net Developer and Database Administrator with 20 years of experience in Web/ Windows and Android Developments,Administration, Project Management System analysis, and Database Developments. Delivering quality solutions to complex business problems within scope, budget and tight schedules whilst meeting strict specifications both functional (for users ) and technical (for Developers) , from project planning, estimating to delivery. SKILLS AND ABILITIES • Web | Windows Developments • C# | Vb. Net | ASP. Net • SQL Server | MY SQL | EXCEL | MS ACCESS • MVC| | Web Forms | Win Forms • Web Services | API • Entity framework | nHibernet • Java scripts | J query | json • HTML | PHP • CSS | Bootstrap , • Android Developments • IIS | Windows Server 2017 • Crystal Reports | iText Sharp • XML | XLT • System Analyst • Agile | Scrum | Waterfall Developments
$17 USD in 1 day
5.0 (7 reviews)
3.7
3.7
User Avatar
I will solve this issue ASAP. Yes sir I read the instructions. I am best for the job. Already working on similar projects. Please contact me on chat.
$30 USD in 1 day
5.0 (13 reviews)
2.6
2.6
User Avatar
I am .NET developer. I have good hands-on experience more than 4 yrs in asp.net web and windows application developement. I have my own workstation setup with Visual Studio 2017 and MS SQl server. So we will just discuss requirment what need to done. I will try to complete it within minimal time. Happy coding.
$25 USD in 1 day
4.7 (5 reviews)
2.6
2.6
User Avatar
Hi, i am excited to work on this project. i will finish this work in 1 day. i am web developer and having 3 years of experience. Please give me an opportunity. thanks.
$18 USD in 1 day
4.8 (5 reviews)
1.9
1.9
User Avatar
I have 11-year work experience in asp.net(Web and Windows Application). I am hard-working and responsible person. I have good knowledge of Working in professional environment. I have confidence in my web abilities, seeking a prospective position on long perspective, lookout for exposure and Experience in various deeds of a challenging career. I have very good knowledge and development experience in HL7, EDI specifications and EHR/EMR software functionality in Healthcare IT Field. I did type of work in my existing profile.
$15 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Just to introduce myself, I am a .NET full stack developer with 9.5 years of development experience in an MNC.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I am a project leader in VietNam with more 3 years experiences. My Skills: - JAVA, Spring - .NET, ASP.NET - Xamarin - Database - ERP Inbox me!
$15 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Athens, United States
0.0
0
Member since Mar 16, 2019

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.