- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "Writing code to send an email with HTML format body in Visual Basic"
Collapse
-
Comparing apples with pears. A brickie or plumber can only charge about £200 a day or he'll have no work. If the brickie starts down the road of property developing or building houses that's different. He's no longer a brickie.
-
Originally posted by Hobosapien View PostI often wondered why I chose IT and have to re-skill every few years to stay up to date every time M$ and co come up with a 'new improved' way of getting data out of a database onto a screen, when a plumber or brickie can have decades of experience and rake it in for a seemingly easier life.
He's never been on the bench and has plenty of money, his own house paid off and a collection of rental properties also all paid off. After work he's down the pub or playing golf. I'm learning Amazon Web Service certification.
IT is truly an appalling long term career choice.
Leave a comment:
-
Originally posted by Hobosapien View PostOn the plus side the fewer people with the skills the higher the rate becomes. I expect there are people with 50 years COBOL experience on a better rate than those with eff all experience of the latest reinvention of the coding wheel.
I often wondered why I chose IT and have to re-skill every few years to stay up to date every time M$ and co come up with a 'new improved' way of getting data out of a database onto a screen, when a plumber or brickie can have decades of experience and rake it in for a seemingly easier life.
As such I may not bother with the new incarnations and go for legacy contracts that may be fewer in frequency but I'll probably be the only one going for the interview.
Leave a comment:
-
Originally posted by Moose423956 View PostAnd yes DP, maybe that's why I'm having trouble supporting this effing system, because it was written 20+ years ago and the people who wrote it have all been made redundant or died.
On the plus side the fewer people with the skills the higher the rate becomes. I expect there are people with 50 years COBOL experience on a better rate than those with eff all experience of the latest reinvention of the coding wheel.
I often wondered why I chose IT and have to re-skill every few years to stay up to date every time M$ and co come up with a 'new improved' way of getting data out of a database onto a screen, when a plumber or brickie can have decades of experience and rake it in for a seemingly easier life.
As such I may not bother with the new incarnations and go for legacy contracts that may be fewer in frequency but I'll probably be the only one going for the interview.
Leave a comment:
-
Originally posted by zeitghostCan't have been me, I'd have written it in FORTRAN.
Leave a comment:
-
Maybe it's something I wrote back in my day - best of luck supporting it.
Leave a comment:
-
Originally posted by Einstein Jnr View PostHave not written a line of code in years but a quick google suggests there is an "ishtml" property in the mail sender object which you need to set to true for html email. Ref: AspEmail.com - User Manual Chapter 2: Getting Started
I probably should have spotted that, but sometimes it's a case of not seeing the wood for the trees.
And yes DP, maybe that's why I'm having trouble supporting this effing system, because it was written 20+ years ago and the people who wrote it have all been made redundant or died.
Leave a comment:
-
Have not written a line of code in years but a quick google suggests there is an "ishtml" property in the mail sender object which you need to set to true for html email. Ref: http://www.aspemail.com/manual_02.html
Leave a comment:
-
Writing code to send an email with HTML format body in Visual Basic
Hi
I’m trying to write some VB code to send an email where the body is formatted in HTML (with the aim of including a hyperlink in the body eventually once I get it working), but it’s not working, in that I get no email being generated. The code is updated in Visual Studio 6.
Here’s the email code I’m using:
Set objMail = New MailSender
objMail.Host = sMailHost
objMail.From = sMailFrom
objMail.AddAddress sMailRecipient
objMail.Subject = "Dummy email subject" '& ": " & sFilename
objMail.MailFormat = objMail.olFormatHTML
objMail.BodyFormat = objMail.olFormatHTML
objMail.HTMLBody = "<html>Test email format HTML</html>"
objMail.Send
Set objMail = Nothing
I added the MailFormat and BodyFormat settings based on what I found from searching Google. I've also tried setting them to values of 0 and 2, as also suggested on Google.
I know the email process works, because if I change it to normal text format in the same program it does work, like this:
Set objMail = New MailSender
objMail.Host = sMailHost
objMail.From = sMailFrom
objMail.AddAddress sMailRecipient
objMail.Subject = "Dummy email subject" '& ": " & sFilename
objMail.Body = "Test email format normal"
objMail.Send
Set objMail = Nothing
Any suggestions how to get the HTML version of the email working would be greatly appreciated.
Thanks
MooseTags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Which IT contractor skills will be top five in 2025? Jan 2 09:08
- Secondary NI threshold sinking to £5,000: a limited company director’s explainer Dec 24 09:51
- Reeves sets Spring Statement 2025 for March 26th Dec 23 09:18
- Spot the hidden contractor Dec 20 10:43
- Accounting for Contractors Dec 19 15:30
- Chartered Accountants with MarchMutual Dec 19 15:05
- Chartered Accountants with March Mutual Dec 19 15:05
- Chartered Accountants Dec 19 15:05
- Unfairly barred from contracting? Petrofac just paid the price Dec 19 09:43
- An IR35 case law look back: contractor must-knows for 2025-26 Dec 18 09:30
Leave a comment: