Skip to main content

Posts

Showing posts with the label email

SQLlite Android. Managing data

Hi friends. I'll tell you the aim of this part of my app. I've got a SQLite dB which has 3 columns. First is "Quantity", Second is "Product" and third is "Price". Well, what i want to do is to get the whole dB and send it by email. This is what i have right now: public class Visual extends Activity { TextView tv; Button sqlGetInfo; long l ; long b=1; int c,i; String returnedQuantity ,returnedProduct ,returnedPrice; String[] filas; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.visual); tv = (TextView) findViewById(R.id.tvSQLinfo); sqlGetInfo = (Button) findViewById(R.id.EnviarPedido); SQLManager info = new SQLManager(this); info.open(); String data= info.getData(); info.close(); tv.setText(data); Up to here, my code works fine, it displays the data in the textView. Here is the problem. My dB has

SQLlite Android. Managing data

Hi friends. I'll tell you the aim of this part of my app. I've got a SQLite dB which has 3 columns. First is "Quantity", Second is "Product" and third is "Price". Well, what i want to do is to get the whole dB and send it by email. This is what i have right now: public class Visual extends Activity { TextView tv; Button sqlGetInfo; long l ; long b=1; int c,i; String returnedQuantity ,returnedProduct ,returnedPrice; String[] filas; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.visual); tv = (TextView) findViewById(R.id.tvSQLinfo); sqlGetInfo = (Button) findViewById(R.id.EnviarPedido); SQLManager info = new SQLManager(this); info.open(); String data= info.getData(); info.close(); tv.setText(data); Up to here, my code works fine, it displays the data in the textView. Here is the problem. My dB has

Registration blanket, database, info, wordpress, mySQL, e-mail

I'm making websites for a company where users have to "register" with names and a lot of different information to attend the event. (It's a video-event - info would be name, e-mail etc.) I now got a Wordpress webpage, at the blanket doesn't necessary need to be on the site, but can open in a separate window. I need to, somehow make it easy for admin to look at the users who registered, send them e-mails etc. Make a list of everyone who register, for the admin to see. How would be the easiest way to do this? I know how to make a form, and pull the information into the database.. Any good ideas, plugins or examples?? Thanks

AS3 to PHP - mail() function

When I click on send the textbox displays 'sending....' with no change. I'm very sure that this was working before, but the client has noticed it not working recently. I can't find the problem, please help. I have a swf with this AS3 var var_load:URLLoader = new URLLoader; var URL_request:URLRequest = new URLRequest( "http://www.blah.com/send_email_auto_response.php" ); URL_request.method = URLRequestMethod.POST; function submit(e:MouseEvent):void { if( contact_name.text == "" || contact_email.text == "" || contact_subject.text == "" || contact_message.text == "" ) { message_status.text = "Please fill up all text fields."; } else if( !validate_email(contact_email.text) ) { message_status.text = "Please enter the valid email address."; } else { message_status.text = "sending..."; var email_data:String

PHP from quotation mark output

I use a similar form on a regular basis and have just become aware that whenever a single OR double quotation mark is inputted into the form the output to myself (through email) displays the quotation mark as the ASCII code so \' with a backslash ive looked around and dipped into unique character encodings specialentities but cant seem to find anything that will help output it as a normal quotation mark.

SMTP or PHP mail on VPS ( Or Physical Severs) - A Social Networking site

I am developing a social networking site. It has functionality like user registration, people exchanging messages and sending email notifications for people's actions (and many more). Currently I use PHP's mail function to send mails and it is working fine. I already set up a VPS and hosted the application. My question may be a dumb question. Do Facebook and other social networking sites use SMTP servers to send the notifications or only just any kind of PHP mail function? I read somewhere that using PHP's mail , there is a chance of mail going to SPAM folder. They advised using a certified SMTP server. So, if I have to use an SMTP server: 1) Do I have to purchase a certified SMTP server separately? Or can this be hosted on same VPS whatever I have. If so, what server software will be good for this? 2) Are there settings I have to do in SMTP servers like send unlimited messages, because we don't know how many people exchange emails in a minute, and that