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 »

Opera launches new mobile browser: Opera Touch
Posted 25-Apr-2018 20:45


TCF and Telcos Toughen Up on Scam Callers
Posted 23-Apr-2018 09:39


Amazon launches the International Shopping Experience in the Amazon Shopping App
Posted 19-Apr-2018 08:38


Spark New Zealand and TVNZ to bring coverage of Rugby World Cup 2019
Posted 16-Apr-2018 06:55


How Google can seize Microsoft Office crown
Posted 14-Apr-2018 11:08


How back office transformation drives IRD efficiency
Posted 12-Apr-2018 21:15


iPod laws in a smartphone world: will we ever get copyright right?
Posted 12-Apr-2018 21:13


Lightbox service using big data and analytics to learn more about customers
Posted 9-Apr-2018 12:11


111 mobile caller location extended to iOS
Posted 6-Apr-2018 13:50


Huawei announces the HUAWEI P20 series
Posted 29-Mar-2018 11:41


Symantec Internet Security Threat Report shows increased endpoint technology risks
Posted 26-Mar-2018 18:29


Spark switches on long-range IoT network across New Zealand
Posted 26-Mar-2018 18:22


Stuff Pix enters streaming video market
Posted 21-Mar-2018 09:18


Windows no longer Microsoft’s main focus
Posted 13-Mar-2018 07:47


Why phone makers are obsessed with cameras
Posted 11-Mar-2018 12:25



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.