read detail from notepad file
Hi, I have an email program, and i want it to take the address to send the email to from a notepad document on the server, because i want it to send multiple emails to all the addresses that are in the notepad file when send is clicked,
At the moment the email to send to has to be typed in, but i want to be able to send the same message to multiple email addresses, and have those addresses saved in the notepad file that i will have saved on the server, so maybe there are ten email addresses in the document, it sends an email to each of them.
Thanks
Alex
Re: read detail from notepad file
You could open the file and then explode the contents
Re: read detail from notepad file
little explanation needed please
Re: read detail from notepad file
Quote:
Originally Posted by youngnoviceinneedofh
little explanation needed please
fopen opens the text file
explode creates an array of items in a list
Re: read detail from notepad file