![]() |
Multiple emails send to only one specific email adress - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Multiple emails send to only one specific email adress (/showthread.php?tid=52579) |
Multiple emails send to only one specific email adress - El Forum - 06-17-2012 [eluser]Thyvo[/eluser] Hello, I'm having a problem with sending mails, every time I want to send a email it only gets recieved by one email adress (note that for some reason its only gets recieved to this emailadress, if I leave it out of the mailing list, no-one gets a email in the paste below its [email protected]) I used the $this->email->print_debug function and I get this Code: Your message has been successfully sent using the following protocol: sendmail now for my code I have Code: <?php Multiple emails send to only one specific email adress - El Forum - 06-17-2012 [eluser]Glazz[/eluser] Have you checked the spam folder ? Multiple emails send to only one specific email adress - El Forum - 06-17-2012 [eluser]Thyvo[/eluser] [quote author="Glazz" date="1339940267"]Have you checked the spam folder ?[/quote] yes I did, there were no mails Multiple emails send to only one specific email adress - El Forum - 06-17-2012 [eluser]InsiteFX[/eluser] I think you are missing the comma after each emial address. Email address in a batch need to be seperated by a comma. Multiple emails send to only one specific email adress - El Forum - 06-17-2012 [eluser]Thyvo[/eluser] [quote author="InsiteFX" date="1339949993"]I think you are missing the comma after each emial address. Email address in a batch need to be seperated by a comma. [/quote] Can you give me a small example? I do not realtime know what you mean Multiple emails send to only one specific email adress - El Forum - 06-17-2012 [eluser]InsiteFX[/eluser] Code: $adres[] = $emailys->email.","; Sets the BCC email address(s). Just like the "to", can be a single email, a comma-delimited list or an array. You may also need to enclose all of them with a beggining quote and the last one with an ending quote. Multiple emails send to only one specific email adress - El Forum - 06-17-2012 [eluser]Thyvo[/eluser] I tryed: Code: $adres[] = "'".$emailys->email."'"; I diden't get any mails at all using those 3 methodes Multiple emails send to only one specific email adress - El Forum - 06-17-2012 [eluser]rip_pit[/eluser] I don't have a clue about the problem but i would start looking at this points: - Try using simply 1 adress in bcc and see if it works better. - does the CC field works ? (if yes then the email library and BCC might need a fix) - if it urge, you can still send 1 email per adress and forgot about the bcc field, but it's a load of work. anyway, here's what i get when i send myself a CC mail (headers are similar to BCC) Code: CC: username <[email protected]>, "[email protected]" <[email protected]> let's use know if you find something Could it be related to a hosting limitation ? Multiple emails send to only one specific email adress - El Forum - 06-17-2012 [eluser]InsiteFX[/eluser] He already stated above that he gets one email so it is working but not for multiples. I checked the Email Class tonight and it does add the comma so your problem is some place else. |