Multiple emails send to only one specific email adress |
[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
[eluser]Thyvo[/eluser]
[quote author="Glazz" date="1339940267"]Have you checked the spam folder ?[/quote] yes I did, there were no mails
[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.
[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
[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.
[eluser]Thyvo[/eluser]
I tryed: Code: $adres[] = "'".$emailys->email."'"; I diden't get any mails at all using those 3 methodes
[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 ?
[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. |
Welcome Guest, Not a member yet? Register Sign In |