send message to all email adresses of a table in a view |
[eluser]Unknown[/eluser]
Hello, i hope somebody can help me: i have a table in my view: Code: <?php echo form_open('sektionssprecher/sendemail')?> Now i want to read out all the emailadresses of this table and send it to the controller "sektionssprecher": with "public function sendemail()" i want to send the data to a new view, where i can write my text and send it via button to all the emailadresses from this table: Code: <?php Can somebody pls help me?? sorry for my bad english...
[eluser]j0se[/eluser]
IMHO I do all in one task: In the view: Code: <?php echo form_open('sektionssprecher/sendemail')?> In controller: Code: foreach ($users as $member):
[eluser]Unknown[/eluser]
hey, thank you for helping me now i did it with your solution but when i´m using Code: show_error($this->email->print_debugger()) Code: An Error Was Encountered [ 500 ] but i don´t understand it.
[eluser]j0se[/eluser]
its sounds that email settings its wrong... in google "gmail + codeigniter" the first result look the config settings |
Welcome Guest, Not a member yet? Register Sign In |