Fix Email Code

The last coder didn't complete the task I need someone to fix the email code and allow the compressed photo to be in the html email body.

Essentially, I want someone to fix the email code to look professional, formatted, and include photos and videos.

So far 4 "professional" coders haven't been able to help me.

Please read the the job details. This is a job for formatting email in visual basic The website uses controls. My goal is to have a professional looking email. The current email is working but the email is not formatted when received.

Private Sub SendAllEmail(ByVal _file As String)

Dim dt As New DataTable()
dt = getData("select email from AspNetUsers where ReceiveEmail=1")
For Each dr As DataRow In dt.Rows
If dr("email").ToString() <> "" Then
SendPostByEmail(dr("email").ToString(), _file)
End If

End Sub

Private Function SendPostByEmail(ByVal emailTo As String, ByVal _file As String) As Boolean

Dim retVal As Boolean = False
Dim client As New RestClient()
client.BaseUrl = New Uri("")
client.Authenticator = New HttpBasicAuthenticator("api", "key-55b8de2379032d2b48014a95a03e2ccb")
Dim Request As New RestRequest()

Dim configurationFile As Configuration = WebConfigurationManager.OpenWebConfiguration(HttpContext.Current.Request.ApplicationPath)
Dim mailSettings As MailSettingsSectionGroup = configurationFile.GetSectionGroup("")
Dim port As Integer
Dim host, password, username As String
Dim BodyOfEmail As String

If Not mailSettings Is Nothing Then
port = mailSettings.Smtp.Network.Port
host = mailSettings.Smtp.Network.Host
password = mailSettings.Smtp.Network.Password
username = mailSettings.Smtp.Network.UserName

Dim SmtpServer As SmtpClient = New SmtpClient()
Dim mail As MailMessage = New MailMessage()

BodyOfEmail = "Post: " & Body.Text.ToString().Trim()

If wURL.Text.ToString().Trim() <> "" Then
BodyOfEmail &= "<br/><br/>Story Url: " & wURL.Text.ToString().Trim()
End If

Dim url As String = wYTURL.Text.ToString().Trim()
If url.Contains("") Then
Dim ytFormattedUrl As String = GetYouTubeID(url)
BodyOfEmail &= "<br/><br/>Video Url: " & ytFormattedUrl
End If

'If FileUpload1.PostedFile IsNot Nothing Then
' If FileUpload1.HasFile Then
If _file <> "" Then
Dim FileName As String = Path.GetFileName(_file)
'BodyOfEmail = "<html><body>" & BodyOfEmail & "<br/><img src=""cid:PostedImageId"">"
BodyOfEmail = "<html><body>" & BodyOfEmail & "<br/><img src=""cid:" & FileName & """>"
'Dim _attachment As New Attachment(FileUpload1.PostedFile.InputStream, FileName)
'_attachment.ContentId = "PostedImageId"

'Dim altView As AlternateView
'altView = AlternateView.CreateAlternateViewFromString(BodyOfEmail & "<br/><img src=cid:PostedImageId>", Nothing, "text/html")
'Dim yourPictureRes As New LinkedResource(FileUpload1.PostedFile.InputStream, MediaTypeNames.Image.Jpeg)
'yourPictureRes.ContentId = "PostedImageId"

Request.AddFile("inline", _file)
End If
' End If
'End If

BodyOfEmail &= "<br/><br/><br/><br/><H1 align=""center"" style=""font-size:120%;""><a href="""">UnSubscribe</a> </H1>" &
"<H1 align=""center"" style=""font-size:120%;""><a href="""">SFACTING.COM</a> </H1>" &
"<H1 align=""center"" style=""font-si

Skills: ASP.NET, Visual Basic

See more: website payments pro implement direct payment express checkout, view code upload photo flex, source code java photo editor, model website existing website, javascript code upload photo twitter, implement online payment gateway website asp net, html template code resize photo aspect ratio, fix closed eyes family photo, email send multiple photo, email form script photo, design website existing, convert existing asp net website dot net nuke, asp net website existing project, html code resize photo link, rebuild website existing data, fix error permission denied uploading photos, seo website existing, uploading website existing website, adultfriendfinder page photo photos upload, adding website existing

About the Employer:
( 4 reviews ) San Francisco, United States

Project ID: #13401524

20 freelancers are bidding on average $33 for this job


You can see my profile, can you please share existing code with me . i will make sure you get your desired results

$30 USD in 1 day
(21 Reviews)

cannot embed image or video in email need to store image or video on cloud and provide reference. Hi Myself expert in Dot net technologies with 12+yrs of experience in software development. Developed various web a More

$30 USD in 3 days
(15 Reviews)

Dear Client- I can fix the email code as have 5+ years of experience in C#, ASP.NET, ASP.NET MVC 3-5, HTML/CSS, SQL, JavaScript, Oracle 12c and AJAX. Kindly share the credentials and provide the images/videos that you More

$166 USD in 1 day
(27 Reviews)

Hi , i have 10 year of development experience in . give me a chance to look and fix the problem. Thanks

$30 USD in 3 days
(7 Reviews)

Your requirement is to format email in visual basic [login to view URL] goal is to have a professional looking [login to view URL] should be formatted when received by receiver. My Mtech Project was to sent Bulk Email from non GPRS mo More

$30 USD in 3 days
(3 Reviews)

Hi mate! i have very strong understanding of working with HTML email design in various [login to view URL] check below links for my past works and let me know if you are interested to [login to view URL]! http://shihab-shara More

$30 USD in 0 days
(0 Reviews)

Hi Software Engineer Here. Having three years of software development experience in, C#, SQL Server, MVC and Entity Framework. i can fix issues as per your requirements. will provide you quick response and un More

$35 USD in 2 days
(0 Reviews)

Hi, HTML Email Design-Coding is one of my expertise. For your references, please review my profile and my online portfolio at [login to view URL] regards, Tris TRISMEDIA (dot) COM

$35 USD in 2 days
(0 Reviews)

Carnival uses Sitecore as a CMS thats driven... Many days of editing templates or creating one.

$30 USD in 1 day
(0 Reviews)

Please give us an opportunity to show our expertise in the same. I would like to work with you wid best outputs always. Please initiate chat so that we can discuss more and I can suggest you better. Laravel:3yrs More

$15 USD in 0 days
(0 Reviews)

Greetings! Hope you will not ignore my resume/cover letter or proposal letter whatever you mean it. Wish you could have spent some time to read this thoroughly. May be this will help you to get an eminent person or ma More

$30 USD in 1 day
(0 Reviews)

Hi, I am expert in html email template design and development.I will fix code.I have few questions,please open chat so we can discuss. Thanks Gautam

$35 USD in 1 day
(0 Reviews)

A proposal has not yet been provided

$10 USD in 3 days
(0 Reviews)

Hi, I can fix the email code as per your instructions. If you're interested to check my professional portfolio I'll provide you in inbox. I assure you to complete my job in time, have a good experience.

$15 USD in 0 days
(0 Reviews)
$25 USD in 1 day
(0 Reviews)

I have over 10 years of development in C# and ASP.NET. I can do your work within time and can produce quality of work.

$25 USD in 1 day
(0 Reviews)

Dear Hiring Manager, I have gone through your job requirement and I understand that it requires EMail with 100% accuracy.

$10 USD in 1 day
(0 Reviews)

Hi Dear Client, I will change your Email code. Don’t worry…. I will give you better services than others. Please chance me and contact me invitation. Thank you.

$25 USD in 1 day
(0 Reviews)

Hi I am very interested in your project. As I am a senior web developer, I am sure I can handle your project successfully on time. Look forward to getting your response. Best regards.

$25 USD in 1 day
(0 Reviews)
$25 USD in 1 day
(0 Reviews)