My university recently switched mail services and in order to maintain our new listservs we have to import the emails using a different format. I have all the emails in a text file like this:
In order to import it to the new mailing system it has to be in this format:
since there are lot of records I don't want to go through and edit each individually. I can import the text file, but just cannot add the characters to the list, I have tried li.append, but can't figure out why it will not work. Any help would be greatly appreciated!