I have .txt file that has 6 lines on it.
Line 1 name 
Line 2 eamil address 
line 4 phone number 
line 5 sensor name 
line 6 link .
I want to read those 6 lines in python and forward an email to the email address listed in the second line. I have a script that does this . But I don't know how to do this from .txt file . Thanks.
 
     
     
     
     
    