Moblog Post Successful But Missing Data
Posted: 09 September 2008 02:43 PM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  165
Joined  11-30-2004

I’ve got a moblog setup to receive an email with data for custom fields which is generated by a web form. Here’s the data generated:

<category>$FTGcategory</category>
<
entry_title>$FTGtitle</entry_title>
<
field:group-leader>$FTGleader</field:group-leader>
<
field:group-coleader>$FTGcoleader</field:group-coleader>
<
field:group-time>$FTGdayandtime</field:group-time>
<
field:group-start>$FTGstartdate</field:group-start>
<
field:group-location>$FTGlocation</field:group-location>
<
field:group-description>$FTGdescription</field:group-description>
<
field:group-email>$FTGemail</field:group-email>
<
field:group-phone>$FTGphone</field:group-phone>

The “$FTG” variables are substituted by user data. (This is a script generated by FormsToGo.)

This model/process has worked flawlessly for about two years, but recently started failing by losing data submitted for custom fields. The only custom field data that is processed is the $FTGdescription field, which is a test area type (as opposed to a text field).

Ideas? Suggestions?

Profile
 
 
Posted: 09 September 2008 03:01 PM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  165
Joined  11-30-2004

I’ve figured out the reason for this failure—I had switched the fields’ type to Input. The EE documentation clearly states that only Text Area fields can be specified and overridden by a submitted email. My bad.

I do have another question now, though: Is there any way to recover email that has been processed by the moblog module? I have hundreds of entries without data now!

Profile
 
 
Posted: 09 September 2008 03:17 PM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  29218
Joined  05-15-2004

What version and build are you on? Did it fail all of a sudden, or can you think of something to trigger it (new host, upgraded EE, etc)? Nevermind.

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
Posted: 09 September 2008 03:19 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  29218
Joined  05-15-2004

No, I don’t think there’s a way: mail get sent to the specified account, is being processed and then deleted. Perhaps you have better luck with the “sent” mail?

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
Posted: 09 September 2008 03:23 PM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  165
Joined  11-30-2004

Good suggestion.

I know nothing about the PHP mail() function—does it save sent items somewhere?

Profile
 
 
Posted: 09 September 2008 03:29 PM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  29218
Joined  05-15-2004

Ah, I didn’t know where your mail was coming from (might have been a regular mail program, for all we know)—No, I don’t think PHP saves outgoing mail, either. Sorry for not having better news.

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 03:47 PM
Total Registered Members: 120432 Total Logged-in Users: 66
Total Topics: 126526 Total Anonymous Users: 45
Total Replies: 665297 Total Guests: 343
Total Posts: 791823    
Members ( View Memberlist )