rulerofzu Posted September 22, 2012 Posted September 22, 2012 Other than your broken image works fine. Quote
Nicholas Posted September 22, 2012 Author Posted September 22, 2012 Other than your broken image works fine. can you post a print screen of it please? :) Quote
rulerofzu Posted September 22, 2012 Posted September 22, 2012 I deleted it earlier. Send one to yourself or send me another. Quote
Nicholas Posted September 22, 2012 Author Posted September 22, 2012 I deleted it earlier. Send one to yourself or send me another. tried my hotmail account but didn't receive the email. so i sent it you again :) Quote
rulerofzu Posted September 22, 2012 Posted September 22, 2012 [ATTACH=CONFIG]705[/ATTACH] Got the image through this time not shown on the print screen as I disable remote content by default in my email client. Quote
Nicholas Posted September 22, 2012 Author Posted September 22, 2012 [ATTACH=CONFIG]705[/ATTACH] Got the image through this time not shown on the print screen as I disable remote content by default in my email client. thats good then, at least it works now then aye :) but wonder why i cant send it to my hotmail? wont others have the same problem? Quote
rulerofzu Posted September 22, 2012 Posted September 22, 2012 Yes they will. Try my hotmail [email protected] Quote
Nicholas Posted September 22, 2012 Author Posted September 22, 2012 Yes they will. Try my hotmail [email protected] Email has been sent to ([email protected]) with a code. Quote
rulerofzu Posted September 22, 2012 Posted September 22, 2012 Your email didnt come through. My email using the same code went to my hotmail. Are you using a valid email in the from? Also change your code to the following. $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $headers .= 'From: '.$from.''; Quote
Nicholas Posted September 22, 2012 Author Posted September 22, 2012 Your email didnt come through. My email using the same code went to my hotmail. Are you using a valid email in the from? Also change your code to the following. $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $headers .= 'From: '.$from.''; change and yes i am, i've been using the email address i have in the post form for about 4 years now lol. Quote
rulerofzu Posted September 22, 2012 Posted September 22, 2012 Well the code is working ive tested what Ive provided to you on my server without any problem. Sent to gmail, hotmail, yahoo and other email accounts. So if its not sending to your hotmail account then something is up with your hotmail which could be spf or lookup from hotmail not able to be verified if you can look at mail queues on your server then it may give you more info. Quote
Octarine Posted September 22, 2012 Posted September 22, 2012 Assuming the not necessarily localhost MTU is correctly configured and hotmail is sending bounces, then your catch-all mail account may well contain those. Failing that it, may become necessary to move to something a little more sane than the sadly lacking mail() function - something like SwiftMailer as I alluded to earlier. Sockets() are fine, but tricky unless you are prepared to waste 6 months trying to understand a mail protocol that seldom adheres to RFC specs and is really best left to small wizened old men in dimly lit back-rooms wearing slippers and smoking fine pipe weed. Quote
Nicholas Posted September 22, 2012 Author Posted September 22, 2012 Assuming the not necessarily localhost MTU is correctly configured and hotmail is sending bounces, then your catch-all mail account may well contain those. Failing that it, may become necessary to move to something a little more sane than the sadly lacking mail() function - something like SwiftMailer as I alluded to earlier. Sockets() are fine, but tricky unless you are prepared to waste 6 months trying to understand a mail protocol that seldom adheres to RFC specs and is really best left to small wizened old men in dimly lit back-rooms wearing slippers and smoking fine pipe weed. I don't get how to use SwiftMailer? Quote
Octarine Posted September 22, 2012 Posted September 22, 2012 It's really very simple - perhaps a little example will help. Obv. that would need to be adjusted to suit your own environment, and ideally the last stage wrapped in a exception handler; but as a quick demo, it should give you an idea. Quote
rulerofzu Posted September 22, 2012 Posted September 22, 2012 I have a sneaky feeling that he still will have issues getting through to hotmail though. Quote
Octarine Posted September 22, 2012 Posted September 22, 2012 (edited) Possibly, but the advantage is you can select which mail server to use as a router ... ie; if you have a GMail account, use it as a smart host - saves a metric tonne of headaches. Sure with some fiddling you can kinda do that with the built-in smtp facilities, but its messy. At least this mechanism provides the extra ability of being able to debug the actual protocol itself - which can help considerably in debugging any number of problems. Hotmail, is certainly not alone in this, there are quite a few big mail providers that cause similar problems - apparently in an effort to reduce spam... though if I look in my spam folder, a large % seems to come from those domains... go figure ;) Its also dead simple to add html components, attachments, etc etc. Edited September 22, 2012 by Octarine Quote
rulerofzu Posted September 22, 2012 Posted September 22, 2012 Oh its ok them sending it....just not receiving it!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.