Ive got a application which was written by a developer who has long left the company. Im not a coder but Ive been able to muddle my way through various changes over the past couple of year but today, Ive come up against something which I thought would be a piece of cake but alas its not.
The application in question runs a serious of reports and emails them out to a user. The email body has the text "Please find attached today's report". I want to change this so it says the following:-
Please find attached today's
ENQ - Enquiry Received
APP - Application Passed to Underwriting
SEL - Ready to Sell
SLD - Loan Sold
ROI - Regulated Offer Issued
UOI - Unregulated Offer Issued
RCE - Regulated Consideration Expired
WIP - Work in Progress
PPO - Pending Payout
SLC - Secured Loan Completion
REJ - Application Rejected
TUD - Customer Turned Us Down
TPD - Third Party Deal
DUP - Duplicate lead received within 30 days
Now, Ive opened up the code in VB Studio and Ive found the line which inserts the "Please find attached todays report" and Ive appended the string to include all the rest of what I want included in the email body. When I do this, in the error list of the VB Studio I see loads of new errors so I guess Im not able to insert the additional text.
SendOutEmail(strEmailSender, strEmailList.ToString, _
String.Concat(strSelectedReport.Substring(strSelectedReport.LastIndexOf("\") + 1), " - ", _
arrSourceCodesList(intNumberOfSources)), "Please find attached today's report.", arrFileList) ' -- Send mail
How would I get the email body string updated to include my extra text?