Get Images Not Working - 9300

Hi all,
I am having a issue with my blackberry actually it is not downloading inline images in any message despite that I've turned that on in the email-settings. And also tried doing a reboot. I have also tried it manually that is from the options menu.  Please help.
I have BIS.
Thanks for any help.
Regards,
Raghav Singhal

is this happening to all email you receive (even mails received from different domains)?? 
Try doing an HRT (host routing table)
KB00510 - How to register a BlackBerry smartphone with the wireless network
also read below KB
KB15969 - HTML email messages do not display images when received on the BlackBerry smartphone
.RoCkInG dUdE.
Trust Your Technolust | Do not PM for any support
If a solution received, please hit on to show your support.

Similar Messages

  • FP.Get Image not working on a subVI if it has a picture control

    Download the attached (7.0).
    Open and save BOTH VIs in your own version. This is important, because it looks like if the VI is recompiled its FP is loaded into memory and the bug is not apparent.
    Run the VI. The indicators in the subVI are not updated the first time you run the VI.
    This happens in 8.6 as well and requires the subVI to have a picture control and to have its FP closed.
    One workaround is to use the first call? primitive and call the Open FP method (with the state set to hidden) when the VI starts running.
    Try to take over the world!
    Attachments:
    SubVI FP not updating.llb ‏30 KB

    Hey Tst,
    Thank you for the feedback.
    I tried the vi's you have attached here and it updated the first time I ran the Caller.vi.
    I must be doing something different from you.
    Aashish M
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • Keep getting "itunes not working"  when trying to sync my music to my iphone4

    keep getting "itunes not working"  when trying to sync my music to my iphone4

    Just a basic gateway computer from futureshop(bestbuy) I get that message about half way through the sync then it closes iTunes?

  • Why can't I get into photoshop or elements 10? I just get a not working message

    why can't I get into photoshop or elements 10. I just get a not working message

    I have the same problem, I sent my submission when 4.9 came out. No way to get in the direcotry, I am also listed anywhere else.
    I have a jazz podcast which is member of Association of Music Podcasting. It's podsafe and I have a growing number of listeners. Please Apple do something.
    my feed:
    http://feeds.feedburner.com/NightPassagePodcast
    Renato
    The Night Passage Podcast
    http://nightpassage.blogspot.com
    http://nightpassage.org

  • RH 8 Shed images not working

    1.  Shed images not working as of Nov. 12 2009

    Hi all
    Thanks for all the info - but I'm still stumped. I have tried generating my .chm
    files to the default SSL folders, manually copying all the child chms to the SSL
    folder for the master project, letting RH copy them, generating all chms to an
    external folder... no matter what I do, every time I recompile the master
    project it picks up random old stuff. I have checked and rechecked that my
    merged TOC items are to the latest child chms...
    Sometimes when I recomplie the master project, even the content in that reverts
    back to a previous version, sometimes it doesn't...
    I have looked at the Merged Files list in the hhp file, I have deleted this file
    and started my merge from scratch, I have manually deleted some paths (some
    paths are to directories on the server where any files for this project have
    long since been deleted...) directly in this file, but again every time I
    recompile the master project it picks up random old versions of the child chms (
    and the huge list of old merged files are put back in the hhp file. Even when I
    delete all chms from all locations in the folder I'm working in on my C drive,
    delete all the merged TOC items from the master project, save it, and
    recompile it, the list of old merged files reappears in the hhp file).
    Any more thoughts gratefully received:-)
    Also - I don't have a Baggage Files folder??
    One more thing... If I delete ALL the files under Merged Files in the hhp file using HTML Help Workshop, it crashes

  • Why is code to get center of image not working?

    Hey there. I have am trying to establish the center of the imags that load so that I can put them in the center of the stage. I am doing this as each image is a different size.
    Here is the code i have gotten to work before but its not working now and I have been searching to find what I have done wrong with no luck. : (
    Would you look it over and maybe you will see what I am doing wrong?
    public function placePicture(e:Event = null):void {
         rawImage = imageData.image[imgNum].imageURL;
         lastImageIndex = imageData.*.length() - 1;
         imageLoader = new Loader;
         imageHolder = new Sprite;
         imageLoader.load(new URLRequest(rawImage));
         imageLoader.x -= imageLoader.width/2; //this should set the image to the center no?
         imageLoader.y -= imageLoader.height/2;
         imageHolder.x = 640; //this is the center of the stage
         imageHolder.y = 100;
         imageHolder.addChild(imageLoader);
         masterHolder.addChild(imageHolder);    
    The result when I publish is the picture comes on stage but the top left corner goes to 640 instead of the center of the image going to 640.
    I tried several variations of this all with the same result:
    imageLoader.x = -1*imageLoader.width/2;
    I tried using setRegistrationPoint with the following tutorial: http://flashscript.ca/set-registration-as3.php
    and I tried doing all of the above by inserting the loader into a sprite and then applying the code to the sprite and then adding that sprite to another sprite and putting that at 640 and not inserting it in another sprite and trying to straight up put the existing sprite at 640 (hopefully that all makes sense). And I have tried to put it to width/3 and nothing different happens.
    If you have any other ideas or can see what I am doing wrong I would really be gratefull for some tips! : )
    Thanks for any help!
    oh, and I am getting no errors on this.

    the image's width and height are not available until loading is complete.  ie, use a complete listener/listener function.

  • Google Images not working in Safari on Iphone

    Since a while back the "images"-tab in google does'nt work on the iPhone in any of the browsers I've tried. I've searched the net to find others with the same problem but with little luck. Here's a description of the problem.
    For example I search for "dog" in google in the Safari browser, this works just fine.
    Then I press the "images"-tab and get a thumbnail view with pictures of dogs, of course.
    But this is where it all goes wrong, when touching one of the images I get an enlarged view of an image next to it. The "back to the results" and "full image" buttons dim out (without being touchable) and swiping does not work. I don't know what has caused this to stop working properly, I know its not the new iOS version though.
    HERE is a youtube video I prepared that explains the problem.
    First, is there anyone else out there with this problem?
    Second, this is what I've tried:
    - Other iPhone web browser applications, for example "Mercury", "Opera Mini", "Skyfire" and none of them works except "Dolphin" (good work).
    - Resetting any of the settings in the phone, clearing cache and such have no effect.
    - Resetting the iPhone totally, factory settings. No effect.
    - Using someone elses iPhone. I've tried on an iPhone 4 and iPhone 3S, same problems (with iOS 5.01).
    - Trying out all of the settings in google, no change.
    - Setting the google view to "classic" instead of "mobile" works of course, but that makes the site look just like on a PC or Mac and is not what I'm after.
    Third, this problem seems to just affect Swedish users from what I can tell. There would be thousands of posts about this if everyone in the world was affected by it, but so far I've seen no posts on this matter. But after searching a while I found a swedish forum site on the subject. Link (in swedish). Also, when visiting google from Sweden some form of script automatically changes the url from .com to .se. I don't know if this has something to do with it?
    Anyone know what causes this problem and how It might be resolved?
    Best Regard
    Stefan, Sweden

    Hi Stefan,
    First; this must be the most thorough error discription I have ever seen. Impressive.
    Second; yep for a couple of weeks now I've been having exactly the same problems as you describe. One other thing that I've noticed, is that for me, the 'word suggestion drop down list' or whatever it's name is, no longer works. More specificly:
    I open Safari in my iPhone, surf to Google image search and type for example "dog" in the search field. Below the field, I now get a list of suggested words or phrases that I think is based on the most popular searches. For me, the first suggestion in this list is "dogo argentino" (a specific and popular breed of dogs). When I tap on the words "dogo argentino", the search field normally would switch input from "dog" to "dogo argentino" AND starts the image search automatically. However, since the problem showed up, when I tap on "dogo argentino" the input field is not affected (still reads "dog") and I would have to type "dogo argentino" manually and hit "search".
    I use a Swedish iPhone 4S (5.0.1 (9A406)) in the Telenor network. I also have tested the same possible solutions that you describe in your post, but with no luck.
    All the best,
    Ingo

  • Splash image not working in JNLP

    Hi all...
    Splash image is not get displayed in my Application..
    Here is my JNLP file.
    <jnlp spec="6.0+" codebase="http://localhost:8080/MyProject/">
      <information>
        <title>MyProject1.0</title>
        <vendor>My Company.</vendor>
        <homepage href="null"/>
        <description>Application Launcher For MyProject1.0</description>
        <icon href="http://localhost:8080/MyProject/images/Splash_MyProject.jpg" height="300" width="560" kind="splash"/>
        <offline-allowed/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <update check="timeout" policy="always"/>
      <resources>
        <java version="1.6"/>
        <jar href="http://localhost:8080/MyProject/SwingApplication/mysql-connector-java-5.0.6-bin.jar" download="eager" main="false"/>
        <jar href="http://localhost:8080/MyProject/SwingApplication/MyProject1.0.jar" download="eager" main="true"/>
        <jar href="http://localhost:8080/MyProject/SwingApplication/liquidlnf.jar" download="eager" main="false"/>
      </resources>
      <application-desc main-class="com.mycompany.ui.MainWindow">
        <argument>production%0%3#com.mysql.jdbc.Driver#MyProject4%jdbc:mysql://10.100.1.89:3306/MyProject4%MyProject%info123#MyProject2%jdbc:mysql://10.100.1.89:3306/MyProject2%MyProject%info123</argument>
      </application-desc>
    </jnlp>Splash image not get displayed and then I change *<java version="1.6"/>* to *<java java-vm-args="-splash:resource/images/Splash_MyProject.jpg" version="1.6"/>*
    still splash image not get shown on application startup..
    no java.awt.SplashScreen() class instance found.
    Plz anybody give some idea...

    I have also a problem with the splash screen not displaying. This is the first relevant portion of the jnlp:
    <jnlp spec="1.5+" codebase="http://www.i-modulas.nl/downloads/"
    href="imodulas.jnlp">
    <information>
    <title>i-Modulas Thin Client</title>
    <vendor>i-Modulas Software BV</vendor>
    <icon kind="splash" href="http://www.i-modulas.nl/downloads/javathinsplash.jpg"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.5+"/>
    <jar href="isrun.jar"/>
    <property name="iscobol.conf" value="http://www.i-modulas.nl/downloads/javaclientproperties.txt"/>
    </resources>
    <resources os="Windows">
    <property name="swing.defaultlaf" value="com.sun.java.swing.plaf.windows.WindowsLookAndFeel" />
    </resources>
    <resources os="Linux">
    <property name="swing.defaultlaf" value="com.sun.java.swing.plaf.gtk.GTKLookAndFeel" />
    </resources>
    The application starts normal and uses a different look and feel under Windows as under Linux, but I do not see the splash screen. I tried different ways of referencing to the picture and I also tried using a .gif format. It never worked!
    Any suggestions are welcome!
    Ren�

  • Copy and Paste of Images NOT working.

    When I right click on an image and choose 'copy image' and then try to paste it into my editing software, all i get is a string of text that is the location of the image as if I had chosen 'copy image location' instead. what gives?

    I too was unable to copy & paste ''IMAGES'' suddenly. This function continued to work correctly in my Internet Explorer and Chrome browsers while not working in Firefox. (I WAS able to copy & paste ''''TEXT'''' however in all 3 browsers.)
    As described by another poster, I would click on "Copy image" as I always did, but instead of the image appearing when I clicked paste, the ''URL'' of the image appeared instead.
    My computer developed this problem suddenly yesterday after downloading and installing the newest version of Firefox, which is 12. I tried some of the suggested solutions here to no avail, but I strongly suspected the problem was with Firefox 12. To test this, I re-installed Firefox 11 and immediately my copy & paste function started to work correctly once again and I am now able to copy & paste images once again.
    I will not install Firefox 12 again until Firefox corrects this problem. I need this function and do not want to have to deal with a convoluted method of saving a graphic with unnecessary extra steps, thank you. Every single time I upgrade Firefox, something is incompatible with the new version and no longer works. This is always a nuisance, especially when it is my Norton toolbar.
    This time it was my copy & paste function (again, for images only.) Anyone else with this problem should re-install Firefox 11 to see if their copy & pasting of images function is suddenly restored, as mine was. Good luck! :)

  • Uploading Images - Not Working?

    My company updated to the Dreamweaver CC version and I’m having trouble getting the images to upload.  The text and hyperlinks come through, but no new photos.  We are using Dell PCs, Windows 7, and a 64-bit OS.
    Examples:
    http://www.pookandpook.com/categories/moderndesign.php (should be the fourth photo down in the second column - Italian Lucite and Leather Living Room Suite $2,460)
    http://www.pookandpook.com/categories/jewelry.php (Half way down below the green jade brooch – photo for Diamond 14K White Gold Ring $5,904)
    I’m not getting an option to “Check Out” the pages like I used to with the old version of Dreamweaver we were using. The text is there, but it is grayed out and not "clickable."  When I select “Get”, it runs through some things, but nothing opens.  When I double-click it finally opens.  But when I save, nothing is saving to the local view.
    I’m just totally confused that the text is coming up, but not photos.  Any thoughts on what I am doing wrong?  I don’t know much about Dreamweaver… I just basically add photos, text, and links to existing pages.
    Someone told me my image folder may be located in the wrong place, but I don't know where the right place is?

    Something isn't quite right with the image paths on those few images.  When I view the page most work and point to ../pookSite.  On the ones that are not working they are showing a path 4 levels deeper ../../../../ .  If you update those paths on the page the problem should be resolved.

  • Why does 'insert image' not work?

    If I use Insert Image, the image appears on the email, but is not sent to the recipient. Why?
    Whats the point of it if it appears to work but doesn't?

    <blockquote>The fact that WYSIWYG does not work sometimes is no reason to regard it as not sensible to try and achieve. </blockquote>
    Never is more the point. It never works on the internet, every browser and mail client renders fonts and forms and images differently. That is why most web sites use the browser string to choose which version of the site to offer up.
    Change printers in a word processor and see WYSIWG change. Field questions from users who have suddenly manager to get their document on a 30 degree slant because their document formatting resembles a typewriter.
    <blockquote>If what you see on the screen is completely different from what you send, how are you supposed to make quality judgements? </blockquote>
    People writing computer programs and HTML have been doing it ever since there have been computers. Imagination and knowledge of the rendering capabilities to the expected client give some level of confidence. and KISS applies. The less complex the less likely it is to go spectacularly wrong
    <blockquote>Having a link to a persons computer from another computer is an invitation to hackers. </blockquote>
    That is what every address on the internet is, a link from one computer to another. Usually, your computer to someone elses. It is also why windows supports UNC names for files.
    <blockquote>Why would you do that?</blockquote
    Perhaps so content can be created once and use repeatedly without having to copy the data and perhaps corrupt it in the process. It also allows for content to be changed after the fact, so you can do a countdown due in X days
    <blockquote>
    Also,it still doesn't work. I tried sending myself an email, </blockquote>
    Did you get the email, many providers just don't deliver mail to yourself anymore.
    <blockquote>
    and it should have referenced the file on my computer, but it didn't.
    </blockquote>
    What did the HTML img tag actually contain?
    <blockquote>
    The concept of sending half a document, and referencing the rest of the document from a computer somewhere on the Internet (which might be off), absolutely stupid from many points of view.</blockquote>
    Depends, remote images in email are a perfect example of it. Many of today's emails would not be sent due to their size if the images were not remote, and how to marketers get to know who you are unless there are remote images so they can track you.
    In a corporate environment there are places where you would be sacked for actually attaching documents to an email. A link to them on the server maintains the companies control of their intellectual property. Placing it in an email obviates all of that.
    So get used to the fact that email is not WYSIWYG. It does not even use the same fonts you do, unless by happen-chance the recipient also has the same ones.
    What does the message source say about the IMG tag for the image.
    <preformat>
    ><img alt="" src="file:///C:/Users/Matt/Desktop/CSV%20how%20to/more%20images/blinkers.png" height="315" width="392">
    </preformat>
    It will look something like this for a local link with moz-do-not-send="true" set if I specify not to include the image with the message.
    <blockquote>If Thunderbird has some inherent problem with incorporating image files into a document, then it should not allow it as an option. </blockquote>
    I am afraid is simply do not understand that statement at all. You are the only person I have ever encountered that could not include an image in their email.
    <blockquote>One thing that most Windows software now allows is transferring files between formats, </blockquote>
    How come I can not get mail out of outlook in a usable format? Are BMP, JPEG and PNG images interchangeable?
    I previously asked <blockquote>So what format is this image? (What file type) How large is it? What anti virus program do you use?</blockquote>

  • Dynamic Picture/Image Not Working

    CR XI R1 - I believe it is the most recet service pack available (4?)
    VBScript is being used to query the database and provide the recordset data to the crystal report via a data definition file.  All other data displays properly on the report.
    The 'placeholder' image is one that says 'image not found'.  It "should" be getting replaced at runtime with the dynamic image specified in the graphic location formula but it is not and the image always remains the same.
    In the graphics location I have tried in multiple ways to enter a path with a http:// reference, a file:// reference, a local drive C: reference, and a reference relative to the report's current directory on the server.
    Nothing seems to work.
    Could someone help me understand the requirements of the graphics location field in crystal reports in order for it to dynamically locate the file at run time.?
    My current assumption is that the graphics location requires a path in text form (surrounded in quotes) to an image file to be returned.  I also am assuming it doesn't matter when the graphics location field evaluates itself relative to other fields/formulas - especially if the path is static.
    I should note that a static path entered and print previewed does switch the picture.

    Please disregard.  I believe I have solved the issue.  The crystal reports viewer on the server was version 9, not 11.  Changing it to 11 appears to have resolved the issue.

  • Itunes podcast image not working

    I am using feedburner to generate a podcast feed for a website my agency worked on. It works fine, we can post things and they show up as podcasts if there is an audio file attached, and the feed shows up fine on feedburner. We used smartfeed on feedburner to generate the extra tags needed for an itunes podcast, including the podcast image, but it's not working. We made sure to input a 1400x1400 image as the feed image, and every time we have changed the image we have made sure to make the filename different so itunes recognizes that there is a differnet image. It has been almost a week since we put in that image and it still is not showing up.
    I don't know if it just takes longer, or if there is something wrong, but we have been trying to get an image working for a few weeks now.
    The link to the podcast is here
    https://itunes.apple.com/us/podcast/uncommon-austin-podcast-2013/id468093685?mt= 2
    I can link to the feedburner feed as well if needed. But we would just like to know of a solution to our problem.
    Thanks
    Josh

    The image which appears on the Store page is referenced in the feed: but the image which appears when you subscribe (either manually or from the Store page) is not - it is embedded in each episode's media file. This page explains the situation and what to do about it:
    http://homepage.mac.com/rfwilmut/notes/faq.html#coverart

  • Multicast WDS Imaging Not Working - Doesn't show up when booted via PXE..?

    I have a lab environment setup specifically for imaging laptops via WDS.   I have a stand alone Windows 2012 server connected directly to an 8-Port Cisco SG-220 8 Port switch.    Nothing else is connected to this server and it is not being
    used for anything else.  The server is running DHCP and WDS.    I can boot laptops via PXE and connect to the WDS server to deploy the images through standard WDS imaging.  However, I have not been able to get Multicasting to work.  I
    have never used Multicasting before and have read through the documentation but must be missing something.  This is what I've done:
    1. In the WDS server I right click on my deployment image and select 'create multicast image' then go through the prompts to create an auto-cast image.  
    2. The Multicast image is created and shown as 'waiting' on the WDS server.
    3. The Cisco router is brand new out of the box, the only configuration I did was to enable IGMP snooping.  I did not make any other changes to the setup of the switch.
    4. I boot a target machine via PXE using the same Boot Image that I always use.  It loads to the screen where I can select the image I want to deploy but it never shows the multicast image as an option.  I only see the regular image I had previously
    been using.
    I'm not sure what else I'm missing in order to get the target machine to connect and image using the multicast image.  
    Here are a few screen shots of what I have setup:
    Here is the multicast image created on the server
    Here is the Cisco Router configuration:
    Here is the NIC card configuration on the server:
    This is the target laptop booted via PXE but it never shows the multicast image as an option.
    />

    Hi AdamNYC31,
    The multicast feature used by WDS uses Internet Group Management Protocol (IGMP) version 3. Your network switches will need to support this, and you’ll need to configure them
    for multicast. Please refer the following similar thread check each step Aaron Tyler and Ron St and Ankit Oberoi offered solution.
    Multicast issue: Always "Waiting"
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/18122b39-e707-455d-b22f-956ebfb95e40/multicast-issue-always-waiting?forum=winserversetup
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Captcha image not working

    Here is the link to my contact form page:  http://www.healthquestpt.com/hpc/contact.html  The captcha image isnt working and the form doesnt work.  This image is in the directory "scripts/images"
    These are the options I've tried so far:
    <?php $random = rand(0,3); ?>
    <img src="images/img_<?php echo $random; ?>.jpg"/><br />
    <input type="hidden" name="captcha_code" value="<?php echo $random; ?>" />
    <?php $random = rand(0,3); ?>
    <img src="scripts/images/img_<?php echo $random; ?>.jpg"/><br />
    <input type="hidden" name="captcha_code" value="<?php echo $random; ?>" />
    <?php $random = rand(0,3); ?>
    <img src="/scripts/images/img_<?php echo $random; ?>.jpg"/><br />
    <input type="hidden" name="captcha_code" value="<?php echo $random; ?>" />
    I've tried moving the images from the "scripts/images" to the "images" file in the main directory.
    I've tried moving the contact.html into the "scripts" file
    I've tried moving the formmailer.php into the main directory.
    None of the above work so  right now I have the contact.html in the main directory, the formmailer.php & images associated with formmailer in the "scripts" file and another set of the images in the "images" file in the main directory.
    here is the link to the "scripts" folder:  http://www.healthquestpt.com/hpc/scripts/
    Please help.

    Ok den I did it but I only uploaded the index.html and the contact.html pages
    heres the formmail.php code:
    <?php
    // dB Masters' PHP FormM@iler, Copyright (c) 2007 dB Masters Multimedia
    // http://www.dbmasters.net/
    // FormMailer comes with ABSOLUTELY NO WARRANTY
    // Licensed under the AGPL
    // See license.txt and readme.txt for details
    // General Variables
    $check_referrer="no";
    $referring_domains="http://domain.com/,http://www.domain.com/,http://subdomain.domain.com/";
    // options to use if hidden field "config" has a value of 0
    // recipient info
    $charset[0]="UTF-8";
    $tomail[0]="[email protected]";
    $cc_tomail[0]="";
    $bcc_tomail[0]="";
    // Mail contents config
    $subject[0]="Home Physician Care Inquiry";
    $reply_to_field[0]="Email";
    $reply_to_name[0]="Name";
    $required_fields[0]="Name,Phone,Email,Comments";
    $required_email_fields[0]="Email";
    $attachment_fields[0]="";
    $return_ip[0]="yes";
    $mail_intro[0]="The following inquiry has been made:";
    $mail_fields[0]="Name,Address,City,State,Zip,Phone,Email,Comments";
    $mail_type[0]="text";
    $mail_priority[0]="1";
    $allow_html[0]="no";
    // Send back to sender config
    $send_copy[0]="no";
    $copy_format[0]="vert_table";
    $copy_fields[0]="Name,Comments";
    $copy_attachment_fields[0]="";
    $copy_subject[0]="Subject of Copy Email";
    $copy_intro[0]="Thanks for your inquiry, the following message has been delivered.";
    $copy_from[0]="[email protected]";
    $copy_tomail_field[0]="Email";
    // Result options
    $header[0]="";
    $footer[0]="";
    $error_page[0]="";
    $thanks_page[0]="thanks.html";
    // Default Error and Success Page Variables
    $error_page_title[0]="Errors:";
    $error_page_text[0]="Please use your browser's back button to return to the form and complete the required fields.";
    $thanks_page_title[0]="Message Sent";
    $thanks_page_text[0]="Thank you for your inquiry";
    // Antispam Options
    $empty_field[0]="nospam";
    $character_scan[0]="Comments,Name";
    $time_delay[0]="2";
    $captcha_codes[0]="9C2449,EEADC8,77A585,D72838";
    $max_urls[0]="2";
    $max_url_fields[0]="Comments";
    $flag_spam[0]="";
    // options to use if hidden field "config" has a value of 1
    // recipient info
    $charset[1]="";
    $tomail[1]="";
    $cc_tomail[1]="";
    $bcc_tomail[1]="";
    // Mail contents config
    $subject[1]="";
    $reply_to_field[1]="";
    $reply_to_name[1]="";
    $required_fields[1]="";
    $required_email_fields[1]="";
    $attachment_fields[1]="";
    $return_ip[1]="";
    $mail_intro[1]="";
    $mail_fields[1]="";
    $mail_type[1]="";
    $mail_priority[1]="";
    $allow_html[1]="";
    // Send back to sender config
    $send_copy[1]="";
    $copy_format[1]="";
    $copy_fields[1]="";
    $copy_attachment_fields[1]="";
    $copy_subject[1]="";
    $copy_intro[1]="";
    $copy_from[1]="";
    $copy_tomail_field[1]="";
    // Result options
    $header[1]="";
    $footer[1]="";
    $error_page[1]="";
    $thanks_page[1]="";
    // Default Error and Success Page Variables
    $error_page_title[1]="";
    $error_page_text[1]="";
    $thanks_page_title[1]="";
    $thanks_page_text[1]="";
    // Antispam Options
    $empty_field[1]="";
    $character_scan[1]="";
    $time_delay[1]="";
    $captcha_codes[1]="";
    $max_urls[1]="";
    $max_url_fields[1]="";
    $flag_spam[1]="";
    // Don't muck around past this line unless you know what you are doing //
    ob_start();
    $config=$_POST["config"];
    $debug=0;
    $debug_text="";
    // fix for Windows email server security
    ini_set("sendmail_from",$tomail[$config]);
    // email validation regular expression
    $regex = "^[-a-z0-9!#$%&\'*+/=?^_`{|}~]+(\.[-a-z0-9!#$%&\'*+/=?^_`{|}~]+)*@(([a-z0-9]([-a-z0-9]*[a -z0-9]+)?){1,63}\.)+([a-z]([-a-z0-9]*[a-z0-9]+)?){2,63}$";
    $header_injection_regex = "(\r|\n)";
    if($header[$config]!="")
    include($header[$config]);
    if($_POST["submit"] || $_POST["Submit"] || $_POST["submit_x"] || $_POST["Submit_x"])
    // begin global functions //
    // get visitor IP
    function getIP()
      if(getenv(HTTP_X_FORWARDED_FOR))
       $user_ip=getenv("HTTP_X_FORWARDED_FOR");
      else
       $user_ip=getenv("REMOTE_ADDR");
      return $user_ip;
    // get value of given key
    function parseArray($key)
      $array_value=$_POST[$key];
      $count=1;
      extract($array_value);
      foreach($array_value as $part_value)
       if($count > 1){$value.=", ";}
       $value.=$part_value;
       $count=$count+1;
      return $value;
    // stripslashes and autolink url's
    function parseValue($value)
      $value=preg_replace("/(http:\/\/+.[^\s]+)/i",'<a href="\\1">\\1</a>', $value);
      return $value;
    // html header if used
    function htmlHeader()
      $htmlHeader="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\">\n<html>\n<head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=".$charset[$config]."\"></head>\n<body>\n<table cellpadding=\"2\" cellspacing=\"0\" border=\"0\" width=\"600\">\n";
      return $htmlHeader;
    // html footer if used
    function htmlFooter()
      $htmlFooter="</table>\n</body>\n</html>\n";
      return $htmlFooter;
    // build verticle table format
    function buildVertTable($fields, $intro, $to, $send_ip)
      $message=htmlHeader();
      if($intro != "")
       $message.="<tr>\n<td align=\"left\" valign=\"top\" colspan=\"2\">".$intro."</td>\n</tr>\n";
      $fields_check=preg_split('/,/',$fields);
      $run=sizeof($fields_check);
      for($i=0;$i<$run;$i++)
       $cur_key=$fields_check[$i];
       $cur_value=$_POST[$cur_key];
       if(is_array($cur_value))
        $cur_value=parseArray($cur_key);
       $cur_value=parseValue($cur_value);
       if($allow_html[$config]=="no")
        $cur_value=htmlspecialchars(nl2br($cur_value));
       else
        $cur_value=nl2br($cur_value);
       $message.="<tr>\n<td align=\"left\" valign=\"top\" style=\"white-space:nowrap;\"><b>".$cur_key."</b></td>\n<td align=\"left\" valign=\"top\" width=\"100%\">".$cur_value."</td>\n</tr>\n";
      if($send_ip=="yes" && $to=="recipient")
       $user_ip=getIP();
       $message.="<tr>\n<td align=\"left\" valign=\"top\" style=\"white-space:nowrap;\"><b>Sender IP</b></td>\n<td align=\"left\" valign=\"top\" width=\"100%\">".$user_ip."</td>\n</tr>\n";
      $message.=htmlFooter();
      return $message;
    // build horizontal table format
    function buildHorzTable($fields, $intro, $to, $send_ip)
      $message=htmlHeader();
      $fields_check=preg_split('/,/',$fields);
      $run=sizeof($fields_check);
      if($intro != "")
       $message.="<tr>\n<td align=\"left\" valign=\"top\" colspan=\"".$run."\">".$intro."</td>\n</tr>\n";
      $message.="<tr>\n";
      for($i=0;$i<$run;$i++)
       $cur_key=$fields_check[$i];
       $message.="<td align=\"left\" valign=\"top\" style=\"white-space:nowrap;\"><b>".$cur_key."</b></td>\n";
      if($send_ip=="yes" && $to=="recipient")
       $message.="<td align=\"left\" valign=\"top\" style=\"white-space:nowrap;\"><b>Sender IP</b></td>\n";
      $message.="</tr>\n";
      $message.="<tr>\n";
      for($i=0;$i<$run;$i++)
       $cur_key=$fields_check[$i];
       $cur_value=$_POST[$cur_key];
       if(is_array($cur_value))
        $cur_value=parseArray($cur_key);
       $cur_value=parseValue($cur_value);
       if($allow_html[$config]=="no")
        $cur_value=htmlspecialchars(nl2br($cur_value));
       else
        $cur_value=nl2br($cur_value);
       $message.="<td align=\"left\" valign=\"top\">".$cur_value."</td>\n";
      $message.="</tr>\n";
      $message.="<tr>\n";
      if($send_ip=="yes" && $to=="recipient")
       $user_ip=getIP();
       $message.="<td align=\"left\" valign=\"top\">".$user_ip."</td>\n";
      $message.="</tr>\n";
      $message.=htmlFooter();
      return $message;
    // build plain text format
    function buildTextTable($fields, $intro, $to, $send_ip)
      $message="";
      if($intro != "")
       $message.=$intro."\n\n";
      $fields_check=preg_split('/,/',$fields);
      $run=sizeof($fields_check);
      for($i=0;$i<$run;$i++)
       $cur_key=$fields_check[$i];
       $cur_value=$_POST[$cur_key];
       if(is_array($cur_value))
        $cur_value=parseArray($cur_key);
       $cur_value=parseValue($cur_value);
       if($allow_html[$config]=="no")
        $cur_value=htmlspecialchars($cur_value);
       else
        $cur_value=$cur_value;
       $message.="".$cur_key.": ".$cur_value."\n";
      if($send_ip=="yes" && $to=="recipient")
       $user_ip=getIP();
       $message.="Sender IP: ".$user_ip."\n";
      return $message;
    // get the proper build fonction
    function buildTable($format, $fields, $intro, $to, $send_ip)
      if($format=="vert_table")
       $message=buildVertTable($fields, $intro, $to, $send_ip);
      else if($format=="horz_table")
       $message=buildHorzTable($fields, $intro, $to, $send_ip);
      else
       $message=buildTextTable($fields, $intro, $to, $send_ip);
      return $message;
    // referrer checking security option
    function checkReferer()
      if($check_referrer=="yes")
       $ref_check=preg_split('/,/',$referring_domains);
       $ref_run=sizeof($ref_check);
       $referer=$_SERVER['HTTP_REFERER'];
       $domain_chk="no";
       for($i=0;$i<$ref_run;$i++)
        $cur_domain=$ref_check[$i];
        if(stristr($referer,$cur_domain)){$domain_chk="yes";}
      else
       $domain_chk="yes";
      return $domain_chk;
    // checking required fields and email fields
    function checkFields($text_fields, $email_fields, $regex)
           $error_message="";
      if($debug==1)
       $error_message.="<li>text_fields: ".$text_fields."<br />email_fields: ".$email_fields."<br />reply_to_field: ".$reply_to_field."<br />reply_to_name: ".reply_to_name."</li>";
      if($text_fields != "")
       $req_check=preg_split('/,/',$text_fields);
       $req_run=sizeof($req_check);
       for($i=0;$i<$req_run;$i++)
        $cur_field_name=$req_check[$i];
        $cur_field=$_POST[$cur_field_name];
        if($cur_field=="")
         $error_message.="<li>You are missing the <b>".$req_check[$i]."</b> field</li>\n";
      if($email_fields != "")
       $email_check=preg_split('/,/',$email_fields);
       $email_run=sizeof($email_check);
       for($i=0;$i<$email_run;$i++)
        $cur_email_name=$email_check[$i];
        $cur_email=$_POST[$cur_email_name];
        if($cur_email=="" || !eregi($regex, $cur_email))
         $error_message.="<li>You are missing the <b>".$email_check[$i]."</b> field or it is not a valid email address.</li>\n";
      return $error_message;
    // attachment function
    function getAttachments($attachment_fields, $message, $content_type, $border)
      $att_message="This is a multi-part message in MIME format.\r\n";
      $att_message.="--{$border}\r\n";
      $att_message.=$content_type."\r\n";
      $att_message.="Content-Transfer-Encoding: 7bit\r\n\r\n";
      $att_message.=$message."\r\n\r\n";
      $att_check=preg_split('/,/',$attachment_fields);
      $att_run=sizeof($att_check);
      for($i=0;$i<$att_run;$i++)
       $fileatt=$_FILES[$att_check[$i]]['tmp_name'];
       $fileatt_name=$_FILES[$att_check[$i]]['name'];
       $fileatt_type=$_FILES[$att_check[$i]]['type'];
       if (is_uploaded_file($fileatt))
        $file=fopen($fileatt,'rb');
        $data=fread($file,filesize($fileatt));
        fclose($file);
        $data=chunk_split(base64_encode($data));
        $att_message.="--{$border}\n";
        $att_message.="Content-Type: {$fileatt_type}; name=\"{$fileatt_name}\"\r\n";
        $att_message.="Content-Disposition: attachment; filename=\"{$fileatt_name}\"\r\n";
        $att_message.="Content-Transfer-Encoding: base64\r\n\r\n".$data."\r\n\r\n";
      $att_message.="--{$border}--\n";
      return $att_message;
    // function to set content type
    function contentType($charset, $format)
      if($format=="vert_table")
       $content_type="Content-type: text/html; charset=".$charset."\r\n";
      else if($format=="horz_table")
       $content_type="Content-type: text/html; charset=".$charset."\r\n";
      else
       $content_type="Content-type: text/plain; charset=".$charset."\r\n";
      return $content_type;
    // end global functions //
    // begin procedural scripting //
    // anti-spam empty field check
    if($_POST[$empty_field[$config]] != "")
      $empty_message = "<li>This submission failed and was flagged as spam.</li>\n";
    // anti-spam character scan check
    if(strlen($character_scan[$config]) > 0)
      $spam_message="";
      $field_check=preg_split('/,/',$character_scan[$config]);
      $field_run=sizeof($field_check);
      for($i=0;$i<$field_run;$i++)
       $cur_field_name=$field_check[$i];
       $cur_field=$_POST[$cur_field_name];
       if(preg_match("/<(.|\n)+?>/", $cur_field) || preg_match("/\[(.|\n)+?\]/", $cur_field))
        $spam_message.="<li>This message contains disallowed characters.</li>\n";
    // anti-spam time delay check
    if((strlen($time_delay[$config]) > 0 && strlen($_POST["time"]) > 0) || (strlen($time_delay[$config]) > 0 && (strlen($_POST["time"]) == 0 || !$_POST["time"])))
      if((time() - $_POST["time"]) < $time_delay[$config])
       $time_message = "<li>This has been stopped by the timer, and is likely spam.</li>\n";
    // anti-spam CAPTCHA check
    if(strlen($captcha_codes[$config]) > 0)
      $captcha_check=preg_split('/,/',$captcha_codes[$config]);
      if(strtolower($_POST["captcha_entry"]) != strtolower($captcha_check[$_POST["captcha_code"]]))
       $captcha_message = "<li>CAPTCHA test did not match.</li>\n";
    // anti-spam max URL check
    if(strlen($max_url_fields[$config]) > 0)
      $max_url_message="";
      $field_check=preg_split('/,/',$max_url_fields[$config]);
      $field_run=sizeof($field_check);
      for($i=0;$i<$field_run;$i++)
       $cur_field_name=$field_check[$i];
       $cur_field=$_POST[$cur_field_name];
       preg_match_all("/http:/", $cur_field, $matches);
       if(count($matches[0]) > $max_urls[$config])
        $max_url_message.="<li>This message contains too many URL's.</li>\n";
    // set anti-spam flagging option
    if(strlen($empty_message.$spam_message.$time_message.$captcha_message.$max_url_message) > 0 && strlen($flag_spam[$config]) == 0)
      $set_flag = 2;
    else if(strlen($empty_message.$spam_message.$time_message.$captcha_message.$max_url_message) > 0 && strlen($flag_spam[$config]) > 0)
      $set_flag = 1;
    else
      $set_flag = 0;
    // header injection check
        $security_filter="";
    if(strlen($_POST[$reply_to_field[$config]]) > 0)
      if(eregi($header_injection_regex,$_POST[$reply_to_field[$config]]))
       $security_filter.="<li>Header injection attempt detected, mail aborted.</li>\n";
      else
       $reply_to_field_checked=$_POST[$reply_to_field[$config]];
    if(strlen($_POST[$reply_to_name[$config]]) > 0)
      if(eregi($header_injection_regex,$_POST[$reply_to_name[$config]]))
       $security_filter.="<li>Header injection attempt detected, mail aborted.</li>\n";
      else
       $reply_to_name_checked=$_POST[$reply_to_name[$config]];
    // check domain referrer and continue
    $domain_chk=checkReferer();
    if($domain_chk=="yes")
      $error_message=checkFields($required_fields[$config], $required_email_fields[$config], $regex);
      if(strlen($error_message) < 1 && strlen($security_filter) < 1 && $set_flag < 2)
       // build appropriate message format for recipient
       $content_type=contentType($charset[$config], $mail_type[$config]);
       $message=buildTable($mail_type[$config], $mail_fields[$config], $mail_intro[$config], "recipient", $return_ip[$config]);
       // build header data for recipient message
       //$extra="From: ".$_POST[$reply_to_field[$config]]."\r\n";
       $extra="From: ".$reply_to_name_checked." <".$reply_to_field_checked.">\r\n";
       if($cc_tomail[$config]!="")
        $extra.="Cc: ".$cc_tomail[$config]."\r\n";
       if($bcc_tomail[$config]!="")
        $extra.="Bcc: ".$bcc_tomail[$config]."\r\n";
       if($mail_priority[$config]!="")
        $extra.="X-Priority: ".$mail_priority[$config]."\r\n";
       // get attachments if necessary
       if($attachment_fields[$config]!="")
        $semi_rand=md5(time());
        $border="==Multipart_Boundary_x{$semi_rand}x";
        $extra.="MIME-Version: 1.0\r\n";
        $extra.="Content-Type: multipart/mixed; boundary=\"{$border}\"";
        $message=getAttachments($attachment_fields[$config], $message, $content_type, $border);
       else
        $extra.="MIME-Version: 1.0\r\n".$content_type;
       // send recipient email
       if($debug==1)
        if($set_flag == 1)
         $debug_text.="<p><b>Mail would have sent flagged for spam if not in debug mode.</b></p>";
        else
         $debug_text.="<p><b>Mail would have sent if not in debug mode.</b></p>";
       else if($debug==0)
        if($set_flag == 1)
         $subject = $flag_spam[$config]." ".$subject[$config];
        else
         $subject = $subject[$config];
        mail("".$tomail[$config]."", "".stripslashes($subject)."", "".stripslashes($message)."", "".$extra."");
       // autoresponse email if necessary
       if($send_copy[$config]=="yes")
        // build appropriate message format for autoresponse
        $content_type=contentType($charset[$config], $copy_format[$config]);
        $message=buildTable($copy_format[$config], $copy_fields[$config], $copy_intro[$config], "autoresponder", $return_ip[$config]);
        // build header data for autoresponse
        $copy_tomail=$_POST[$copy_tomail_field[$config]];
        $copy_extra="From: ".$copy_from[$config]."\r\n";
        // get autoresponse  attachments if necessary
        if($copy_attachment_fields[$config]!="")
         $semi_rand=md5(time());
         $border="==Multipart_Boundary_x{$semi_rand}x";
         $copy_extra.="MIME-Version: 1.0\r\n";
         $copy_extra.="Content-Type: multipart/mixed; boundary=\"{$border}\"";
         $message=getAttachments($copy_attachment_fields[$config], $message, $content_type, $border);
        else
         $copy_extra.="MIME-Version: 1.0\r\n".$content_type;
        // send autoresponse email
        if($debug==1)
         if($set_flag == 1)
          $debug_text.="<p><b>Autoresponder would have sent flagged for spam if not in debug mode.</b></p>";
         else
          $debug_text.="<p><b>Autoresponder would have sent if not in debug mode.</b></p>";
        else if($debug==0)
         $send_copy = 1;
         if($copy_tomail=="" || !eregi($regex,$copy_tomail))
          $send_copy = 0;
         if($send_copy == 1)
          if($set_flag == 1)
           $copy_subject = $flag_spam[$config]." ".$copy_subject[$config];
          else
           $copy_subject = $copy_subject[$config];
          mail("$copy_tomail", "".$copy_subject."", "$message", "$copy_extra");
       // showing thanks pages from a successful submission
       if($thanks_page[$config]=="")
        echo "<h3>".$thanks_page_title[$config]."</h3>\n";
        echo "<p>".$thanks_page_text[$config]."</p>\n";
        if(strlen($debug_text) > 0)
         echo "<p><b><i>".$debug_text."</i></b></p>\n";
       else
        header("Location: ".$thanks_page[$config]);
      else
       // entering error page options from missing required fields
       if($error_page[$config]=="")
        echo "<h3>".$error_page_title[$config]."</h3>\n";
        echo "<ul>\n";
        echo $security_filter.$empty_message.$error_message.$spam_message.$time_message.$captcha_messa ge.$max_url_message;
        echo "</ul>\n";
        echo "<p>".$error_page_text[$config]."</p>\n";
       else
        header("Location: ".$error_page[$config]);
    else
      echo "<h3>".$error_page_title[$config]."</h3>\n";
      // message if unauthorized domain trigger from referer checking option
      echo "<p>Sorry, mailing request came from an unauthorized domain.</p>\n";
    // end procedural scripting //
    else
    echo "<h3>Error</h3>";
    echo "<p>No form data has been sent to the script</p>\n";
    if($footer[$config]!="")
    include($footer[$config]);
    ob_end_flush();
    ?>

Maybe you are looking for

  • Adobe Illustrator CC on MacBook Pro Retina 15"

    Hi everyone, I have brand new MacBook Pro Retina 15" version with 8GB ram, i7 cpu, SSD disk and I have little problem in Adobe Ai CC: When I move many big objects in Ai everything align and move smooth. But when i scroll, zoom, move the view it's ver

  • Issues installing LMS 3.2 on Windows 2008 R2

    I am trying to install LMS 3.2 on W2008 R2 and am getting a platform error saying the operating system is not supported.  Has anyone run into this before?  Any help would be appreciated.  I have attached a screenshot.

  • The best/clean/free approach to moving SharePoint Web Application between environments?

    Hello Forum, I have an environment e.g. (Environment1) Web Application that contains 90 site collections (Including: Lists, Libraries, Workflows, and custom solutions), and its URL is (http://Dept.Company.com/) I must move this entire Web Application

  • How to remove all CIM in SLD

    Hi all i would like to remove all software component from current SLD. i am not telling reimport new released CIM and Contents Version. how to remove all related component to make empty SLD BOX? Regards and Thanks in advance Tony

  • How is carry forward balance and closing balance stored in BW

    Hello all, I am working with the new G/L cube...and as per one of the reporting needs I need to display the carry forward balance and closing amount balance that comes from R/3. Can someone tell me how can this be achieved in BW. Thanks,