Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




1 post

Wannabe Geek


Topic # 180958 28-Sep-2015 04:40
Send private message

hi there,

 

im struggeling!

 

Trying to mail a pdf file via a php script. ive tried about 3 different scripts which attach the pdf but when i try to open it in my mail its always blank. Its oviouly fine on the server.

 

im running wamp server.

 

its running via a smtp server that is configured in the php.ini

 

 

 

as per this line in the index file its using the correct mime:

 

  $msg->Attach("C:\wamp\www\bradmail\dad.pdf", "application/pdf");

 

 

 

In the code box you will find the index.php file as well as the class file.

 

 

 

any suggestions please really desperate.

Create new topic
1 post

Wannabe Geek


Reply # 1398392 2-Oct-2015 02:15
Send private message

Only 3 steps and your .pdf document will be fine by a guide, but in case .pdf file is seriously corrupted you may refer to sources below...

https://pdf.recoverytoolbox.com/ Recovery Toolbox for PDF
http://forums.techguy.org/windows-xp/1136365-repair-pdf-document-has-error.html
http://www.fixya.com/support/t25261237-repair_damaged_pdf


 

     

  1. Decipher the exact reason the PDF is not working. This is less difficult than it sounds. Simply open the PDF file and note the exact reason that the PDF is not working as shown in the box that pops up (e.g. "Cannot find or create the font..."). If you can, click and drag over the reason why the PDF is not working, right-click with the mouse, and copy that exact phrase.
  2. Go to adobe.com, click the "Support" tab on the top of the screen, click on "Adobe Reader," and then select the "I can't open a PDF document" statement underneath "Troubleshooting." Paste the exact phrase you copied earlier into the search box on the right-hand side of the Adobe Support screen. Click "Enter."
  3. Click on the "Adobe Troubleshooting" title that most closely matches the phrase you pasted into the search box. For example, if you paste "Cannot find or create the font..." into the Adobe Search box and select the one option available, you will receive specific directions detailing how to fix that particular problem. Follow the instructions you receive.

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

New Zealand hits peak broadband data
Posted 18-Jan-2018 12:21


Amazon Echo devices coming to New Zealand early February 2018
Posted 18-Jan-2018 10:53


$3.74 million for new electric vehicles in New Zealand
Posted 17-Jan-2018 11:27


Nova 2i: Value, not excitement from Huawei
Posted 17-Jan-2018 09:02


Less news in Facebook News Feed revamp
Posted 15-Jan-2018 13:15


Australian Government contract awarded to Datacom Connect
Posted 11-Jan-2018 08:37


Why New Zealand needs a chief technology officer
Posted 6-Jan-2018 13:59


Amazon release Silk Browser and Firefox for Fire TV
Posted 21-Dec-2017 13:42


New Chief Technology Officer role created
Posted 19-Dec-2017 22:18


All I want for Christmas is a new EV
Posted 19-Dec-2017 19:54


How clever is this: AI will create 2.3 million jobs by 2020
Posted 19-Dec-2017 19:52


NOW to deploy SD-WAN to regional councils
Posted 19-Dec-2017 19:46


Mobile market competition issues ComCom should watch
Posted 18-Dec-2017 10:52


New Zealand government to create digital advisory group
Posted 16-Dec-2017 08:47


Australia datum changes means whole country moving 1.8 metres north-east
Posted 16-Dec-2017 08:39



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.