I am new to Swiftmailer and was wondering how to simulate an SMTP error to test my application.
I am currently using GMAIL smtp. Is it possible to simulate various SMTP errors to test how my system deals with them to check this is correct?
Thanks in advance
Search found 3 matches
- Wed Apr 06, 2011 7:06 pm
- Forum: Swift Mailer
- Topic: How to simulate an smtp error v4.0.6
- Replies: 0
- Views: 21563
- Mon Mar 08, 2010 1:58 pm
- Forum: PHP - Code
- Topic: Generating a sitemap with PHP for SEO
- Replies: 4
- Views: 461
Re: Generating a sitemap with PHP for SEO
I think that there are three options depending on how often your site is updated. The first is use the php script to generate an xml file using fopen, fwrite. So rather than outputting the script to the browser use it to generate a seperate xml file. When you update your content you can run sitemap....
- Thu Mar 04, 2010 2:12 pm
- Forum: PHP - Code
- Topic: Upload a Photo - Class help
- Replies: 2
- Views: 264
Re: Upload a Photo - Class help
I have written a secure php file upload function here that will fit well into your class. More importantly it validates that the file is of the cortrect type, the right extension and can also validate that it is an image that is being uploaded. the code is at http://www.tidy-designs.co.uk/secure-fil...