Title: wp_mail   csv attachment, code review request
Last modified: August 20, 2016

---

# wp_mail csv attachment, code review request

 *  [Peter_L](https://wordpress.org/support/users/peter_l/)
 * (@peter_l)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/wp_mail-csv-attachment-code-review-request/)
 * Hello,
 * I just finished coding a contactpage. Everything works fine but I’m a bit concerned
   that I might have overcomplicated things or wrote code that runs slow or presents
   a security risk.
 * So, for more advanced users, could you give it a quick glance and see if you 
   see any possible problems or have some suggestions?
 * 109 lines off code, but lots of white lines, repetitions and commenting.
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_

The topic ‘wp_mail csv attachment, code review request’ is closed to new replies.

## Tags

 * [attachment](https://wordpress.org/support/topic-tag/attachment/)
 * [csv](https://wordpress.org/support/topic-tag/csv/)
 * [wp_mail](https://wordpress.org/support/topic-tag/wp_mail/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [Peter_L](https://wordpress.org/support/users/peter_l/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/wp_mail-csv-attachment-code-review-request/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
