Jump to content

toephu

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

toephu's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. i added those: $header .= "Reply-To: Some One <someone@mydomain.com>\r\n"; $header .= "Return-Path: Some One <someone@mydomain.com>\r\n"; $header .= "From: Some One <mydomain@myhost.com>\r\n"; unfortunately it did not work.. outlook still flags it as phishing... oh well at least it doesn't put in the junk email folder.
  2. yea, from is set like this $headers = "From: Admin Blah <AdminBlah@company.com>\r\n"; and I had the admins create the email alias "AdminBlah" foward to my email. yes the site is an IP addy: http://172.168.0.1/blahsite anyway i will try the suggestions in the link above by radar
  3. i'm in an internal organization sending out reminder emails and reports using PHP.. i have all the right encoding and a internal "from" email address. There is one url included in the email however it is an internal intranet site. Outlook still shows the warning message "this may be a phising message and is potentially unsafe..etc" of course the user can click that and then add to safe list but I would like by default that the emails are safe that way the users don't mistake it for spam. i use this to mail (with some other stuff above) $headers .= 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=UTF-8' . "\r\n"; if (!mail($to,$subject,$message,$headers)) echo "notification email failed to send"; any ideas? do i need to talk to my Exchange administrators and get them to add the from email to their safe list and this won't show up as phishing?
  4. how about not changing the background by changing the colour of the text in the drop down? currently i have mine setup with colors red green yellow, when you click the menu on the drop down it does show the colours correctly however once its already selected it does not show that colour
  5. i have the same issue, any ideas?
  6. nevermind i figured it out, i think this works: $curMonth=date('Y-M'); for ($i=11; $i >= 0; $i--) $months[] = date('Y-M',strtotime("$curMonth - $i month") );
  7. i want to keep my code simple. is there an easy way to get the first day of each month? or basically what is the cleanest way to fix this code so it outputs the months correctly? since using "now - $i months" isn't always going to work.. for ($i=11; $i >= 0; $i--) $months[] = date('Y-M',strtotime("now - $i month") ); thanks for the quick responses
  8. Today is March 30th, 2010, why is it then when I run this code it outputs "2010-Mar"? echo date('Y-M',strtotime("now - 1 month")); then i try echo date('Y-M',strtotime("now - 2 month")); and it outputs "2010-Jan" however it seems to be skipping february.. i have this following code to print out the previous 12 months, it was working up until a few days ago i noticed it output March twice, it is skipping feb.. for ($i=11; $i >= 0; $i--) $months[] = date('Y-M',strtotime("now - $i month") ); //build array of last 12 months any ideas? thanks -TP
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.