CodeIgniter email library problem in Yahoo |
[eluser]Ali Fattahi[/eluser]
Hello evrybody i've a problem in sending email to yahoo . i sent an email to yahoo Mail and gmail by email library but my email message didn't shows in Yahoo mail it meaning Yahoo receives my email and shows email subject but email message body is empty but all everything in gmail in ok ![]() it's my code and configurations email config Code: $config['protocol'] = 'mail'; and my code Code: $msg= ' Best Regards Ali
[eluser]pickupman[/eluser]
Just to rule out the obvious, have you checked you spam filter? And you can try: Code: $this->email->send(); This may print something useful. Since some servers are wanting more information in the email header for validation.
[eluser]Ali Fattahi[/eluser]
[quote author="pickupman" date="1305276297"]Just to rule out the obvious, have you checked you spam filter? And you can try: Code: $this->email->send(); This may print something useful. Since some servers are wanting more information in the email header for validation.[/quote] yes, i'm checked the spam filter and it is not my problem . and the result of print_debugger() is Code: Your message has been successfully sent using the following protocol: mail There are any problem in the debugger result ? Thanks
[eluser]pickupman[/eluser]
Wonder if your ip address you maybe sending from maybe black(grey)listed. Do you have any other location you could send from? Doing some googling yields some results with yahoo being picky about html only. What happens if you try sending using smtp?
[eluser]Ali Fattahi[/eluser]
[quote author="pickupman" date="1305311229"]Wonder if your ip address you maybe sending from maybe black(grey)listed. Do you have any other location you could send from? Doing some googling yields some results with yahoo being picky about html only. What happens if you try sending using smtp?[/quote] i sent from 2 ip addresses in Iran & Netherlands but i think ip address is not my problem because Yahoo receives my email and shows subject of my email and ... but only didn't shows message body . about smtp ? i didn't realize you . can you please explian more about ? i am using "Best SMTP Server" program in localhost to send email via localhost ? do you have any other idea ? Best Wishes Ali
[eluser]pickupman[/eluser]
Ah, different issue. I was reading "email message not received" that it never shows up in yahoo mail at all. If you are missing the message body, I would guess it to be some encoding issue. Since you are currently trying to send a 'html' type, try $config['text']. Out of curiosity, if you are sending via localhost smtp server, why have you used sendmail in your configuration?
[eluser]Ali Fattahi[/eluser]
[quote author="pickupman" date="1305405877"]Ah, different issue. I was reading "email message not received" that it never shows up in yahoo mail at all. If you are missing the message body, I would guess it to be some encoding issue. Since you are currently trying to send a 'html' type, try $config['text']. Out of curiosity, if you are sending via localhost smtp server, why have you used sendmail in your configuration?[/quote] i set up sendmail for using in host , but sendmail didn't work without smtp server ![]() about text messagge , Yahoo have not any problem with text mails , i only want use html email ![]()
[eluser]pickupman[/eluser]
Just double checked your message source. You don't have a valid html source. Try this: Code: $msg= '
[eluser]Ali Fattahi[/eluser]
[quote author="pickupman" date="1305407823"]Just double checked your message source. You don't have a valid html source. Try this: Code: $msg= ' now yahoo don't receives even my email !! ![]() Thanks a lot for your answers ![]()
[eluser]pickupman[/eluser]
Glad you are on the right track. Several ISPs allow you to send if you have an email address setup. You would use the same settings for an email client (email address, password, mail server). Example: Code: $config['smtp_host'] = 'mail.myisp.com'; If you don't have an email address setup with your ISP, and use gmail, you can send via smtp with your gmail account. Code: $config['protocol'] = 'smtp'; I use both locally on Windows using Wamp. |
Welcome Guest, Not a member yet? Register Sign In |