ipconfig /all | clip
Then please either on the reply message right click paste OR do the same in wordpad. Save and attach.
The pipe cmd with clip simply copies the entry to the clipboard.
After you have pasted it.
If you remain in cmd prompt
echo off | clip
then when you wish to leave cmd simply type exit.