mike60smart
Registered User.
- Local time
- Today, 19:40
- Joined
- Aug 6, 2017
- Messages
- 2,177
hi moke
The email that is received shows the First 2 lines as this:-
From: Elise Kelman
Email Address:
Further down the Message body of the email there are an additional 2 lines as shown:-
Name: Elise Kelman
Email Address: km@gmail.com<mailto:km@gmail.com>
I am trying to adjust your original code to cater for this email structure.
In your first code you removed the From: line using strOut.
I am trying to do the same with this line:-
strOut = Replace(varString, "From:", "", "EMail Address:", "") 'remove "From:" and "EMail Address from the 0 and 1 position
The email that is received shows the First 2 lines as this:-
From: Elise Kelman
Email Address:
Further down the Message body of the email there are an additional 2 lines as shown:-
Name: Elise Kelman
Email Address: km@gmail.com<mailto:km@gmail.com>
I am trying to adjust your original code to cater for this email structure.
In your first code you removed the From: line using strOut.
I am trying to do the same with this line:-
strOut = Replace(varString, "From:", "", "EMail Address:", "") 'remove "From:" and "EMail Address from the 0 and 1 position