I'm sending the same letter to multiple addresses. The addresses are stored in a csv document. I've so far created a loop to create multiple letters, but I have not been successful in finding a format to pull the address from the csv.
Here is the csv format
Name Address City, State Zip
Company 1 5555 N 5th St Townsville, CA 55555
Company 2 5556 N 5th St Townsville, CA 55556
Company 3 5557 N 5th St Townsville, CA 55557
Here's the idea, but I don't know how to call specific elements within a csv
\documentclass[11pt]{letter}
\usepackage{csvsimple}
\usepackage{multido}
\newcommand{\forLoop}[4][1]{\multido{\i=#2+#1}{#3}{#4}}
\begin{document}
\csvreader[head to column names]{sample.csv}{} %
\forLoop[1]{2}{4}
{
\begin{letter}{csv[\i\,1]\\csv[\i\,2]\\csv[\i\,3]}
\begin{letter}
\opening{Dear ConAgra Food Supplier:}
\closing{Best Regards,\\[2ex]%
{
\LARGE\calligra Jane Doe}\\[2ex]%
Jane Doe\\Title\\Company\\Phone #
}
\end{letter}
}
\end{document}

