/    Sign up×
Community /Pin to ProfileBookmark

PHP Mail sending blank emails

I recently set up a contact page for my company. I’m new to PHP, so I wanted to keep it simple. The page works great, sending emails to my company’s sales desk, up to a certain character limit. If the potential customer puts too many characters, it instead sends a blank email. The email is received by the proper address, and the subject line and everything else looks fine; it’s just the body that is empty.

For testing purposes, I had the page echo the exact email it’s sending, and everything looks fine there, even for very long forms.

I haven’t tested the exact character limit, but it seems to be around 150 characters or so.

Our site is hosted by Yahoo! Small Business, and I suspect the problem may lie there (such as a character limit, size limit, or something similar).

Anyone experienced similar problems, or know where I could look? Thanks a lot!

(I can post the code if necessary, but I highly suspect the problem lies outside of the code).

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@Janis-phpJul 19.2011 — Your problem may be in many places have to see the full code I can not explain in detail here.
×

Success!

Help @samriche spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.30,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...