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 »

Push notifications: A productivity killer
Posted 25-Jul-2017 14:15


Intergen takes SKYCITY to the cloud
Posted 25-Jul-2017 14:04


Nothing nebulous about Microsoft’s cloud-transition
Posted 21-Jul-2017 15:34


We’re spending more on tech, but not as much as Australians
Posted 21-Jul-2017 11:43


Endace announces EndaceFabric for network-wide packet recording
Posted 20-Jul-2017 20:49


Acorn 6: MacOS image editing for the rest of us
Posted 20-Jul-2017 17:04


HTC faces backlash over keyboard pop-up ads
Posted 19-Jul-2017 15:53


BNZ adds Visa credit cards to Android Pay wallet
Posted 18-Jul-2017 19:44


Still living in a Notification hell – Om Malik
Posted 18-Jul-2017 13:00


Duet Display uses iPad to extend Mac, PC
Posted 18-Jul-2017 10:58


PC sales could be worse
Posted 17-Jul-2017 07:34


Crypto-currencies, tulips, market bubbles
Posted 17-Jul-2017 06:38


NZ Tech Podcast: Big batteries, solar cars, cold war, IoT
Posted 16-Jul-2017 16:53


Vodafone Australia mulls Wisp alliance, NZ implications
Posted 13-Jul-2017 16:49


Rural health professionals see fibre pay-off
Posted 13-Jul-2017 11:52



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.