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 »

Symantec protects data everywhere with Information Centric Security
Posted 21-Sep-2017 15:33


FUJIFILM introduces X-E3 mirrorless camera with wireless connectivity
Posted 18-Sep-2017 13:53


Vodafone announces new plans with bigger data bundles
Posted 15-Sep-2017 10:51


Skinny launches phone with support for te reo Maori
Posted 14-Sep-2017 08:39


If Vodafone dropping mail worries you, you’re doing online wrong
Posted 11-Sep-2017 13:54


Vodafone New Zealand deploy live 400 gigabit system
Posted 11-Sep-2017 11:07


OPPO camera phones now available at PB Tech
Posted 11-Sep-2017 09:56


Norton Wi-Fi Privacy — Easy, flawed VPN
Posted 11-Sep-2017 09:48


Lenovo reveals new ThinkPad A Series
Posted 8-Sep-2017 14:37


Huawei passes Apple for the first time to capture the second spot globally
Posted 8-Sep-2017 10:45


Vodafone initiative enhances te reo Maori pronunciation on Google Maps
Posted 8-Sep-2017 10:40


Voyager Internet expand local internet phone services company with Conversant acquisition
Posted 6-Sep-2017 18:27


NOW Expands in to Tauranga
Posted 5-Sep-2017 18:16


Windows 10 Fall Creators Update coming Oct. 17
Posted 4-Sep-2017 14:10


Garmin introduce Garmin vivoactive 3
Posted 1-Sep-2017 18:38



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.