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 »

Propel launch Disney Star Wars Laser Battle Drones
Posted 19-Nov-2017 21:26


UFB killer app: Speed
Posted 17-Nov-2017 17:01


The case for RSS — MacSparky
Posted 13-Nov-2017 14:35


WordPress and Indieweb: Take control of your online presence — 6:30 GridAKL Nov 30
Posted 11-Nov-2017 13:43


Chorus reveals technology upgrade for schools, students
Posted 10-Nov-2017 10:28


Vodafone says Internet of Things (IoT) crucial for digital transformation
Posted 10-Nov-2017 10:06


Police and Facebook launch AMBER Alerts system in NZ
Posted 9-Nov-2017 10:49


Amazon debuts Fire TV Stick Basic Edition in over 100 new countries
Posted 8-Nov-2017 05:34


Vodafone VoIP transition to start this month
Posted 7-Nov-2017 12:33


Spark enhances IoT network capability
Posted 7-Nov-2017 11:33


Vocus NZ sale and broadband competition
Posted 6-Nov-2017 14:36


Hawaiki reaches key milestone in landmark deep-sea fibre project
Posted 4-Nov-2017 13:53


Countdown launches new proximity online shopping app
Posted 4-Nov-2017 13:50


Nokia 3310 to be available through Spark New Zealand
Posted 4-Nov-2017 13:31


Nest launches in New Zealand
Posted 4-Nov-2017 12:31



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.