Ning Developer Docs

I've been looking to make a custom feedback form--- the default form doesn't suffice for my purposes. Since mail() is disabled, does anyone know if there's a substitute? I only want the emails to be sent to me, the network creator.

Thanks.

Views: 9

Replies to This Discussion

i Could make this for you i just need the options you want on it like what you want it to ask such as there e-mail,Subject,A text box for them to write want they want to say about the site if this is what you want just tell me here is an example.
Thanks for your help. However, I already have the form designed and the php coded. I just need to know which part of the API sends emails. Is it XG_Message or something?
i do not no but i ca make somthing that is easier than doing stuff with the source code
Is there a simpler method for sending mail? I have the php all coded for a custom page, but I just can't seem to find a way to mail it.

If I try

$message = XG_Message::create($_GET['subject'], $_GET['body']);
$message_sent = $message->send($_GET['to'], $_GET['from']);


I get an error for the included XG_Message.php:

Class 'XG_App' not found in /apps/makeprogress/lib/XG_Message.php
I am having the same trouble - the error:

Fatal error: Call to undefined method XG_Message::create() in /apps/(etc.) on line 19

using the code from the zip file.

What should it be instead of "$message = XG_Message::create($subject,$msgbody);" if "create()" doesn't exist?
I attached an amended version of Mike's sample which uses XG_Message_Generic.
This works fine.
Attachments:
Livewired.ning.com
Beginner here to Ning...Can someone please help me understand what I need to do to create a form and make it email its content to my mailbox? How do I use the codes Jean-Paul provided? I tried creating a page and pasting the codes there, but it doesn't work. Thank you so much in advance!
JotForm.com or I can make one for you 100% free and to your needs.
Beginner here to Ning...Can you please point me to the right direction...what I need to do is create a form and make it email its content to my mailbox? How do I use your codes? I tried creating a page and pasting the codes on the page just to see if it works, and, of course, it didn't. Thank you so much in advance!
Can you send me an example of what I can copy and paste into ning? Your sample form will work for my test. Thanks.
Check out Zarzing.ning.com I have one in Yellow on there.

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service