Send Me An Email Of Birthdays
I'm not sure how this would work automatically but I was wondering how I can send myself an email say 2 weeks before a member in my database is about to have a birthday? I'm assuming the query would need to be running constantly so would it be possible?
View Complete Forum Thread with Replies
Related Forum Messages:
Send Email - Page Where You Enter An Email Address And Click Send.
I am interested in creating an "email -this" type ability for a website. I am sure most people have seen an "email -this story" type link that is standard on most news web sites. You click such a link and then it takes you to a page where you enter an email address and click send. The link for the story and the title are not editable. Does anyone know where I can find example code of how to do this with php, and any explanation of how this works.
View Replies !
Email Problem ( I Am Unable To Send Email In Diffarent Language )
I want to send the mail in Russian language. The mail content has two part, 1st part comes from database, and other part is entered by user in russian language. I am using UTF-8 in database. I am also used Utf-8 (<meta http-equiv="Content-Type" content="text/html; charset=utf-8" in all web page. My site and is working perfectly. But I am unable to send mail in diffarent language. The mail is send well, but I am getting the mail with unicode chrecter of the language instade of original language. Code:
View Replies !
Grab Email Addresses From MySQL And Send An Email....
I am making a simple mail form that will SELECT email address from a MySQL table based on the userid of the person sending the email. if (isset($_POST['submit'])) { require('../database.php'); $result = mysql_query("SELECT * FROM emailList WHERE merchantId = '".$_SESSION['id']."'") or die(mysql_error()); What would be the most efficient way of storing the email addresses from MySQL (may be 1 or may be 100) and then sending them in BCC to all the people gathered from the MySQL table?
View Replies !
Send A Mass Email From A Database Of Email Addresses
Im trying to send a mass email from a database of email addresses. basically, once a user signs up, their email is inserted into table in the database. I would liek to make a link that i can click form the backend that says "send out newsletter" this would take all the emails in the database and put them in outlook ( mail app for me), seperate each with a comma and then i could compose a message. here's what i have come up with so far.. //Once connected to database $mailto = mysql_query("SELECT * FROM newsletter"); while($row = mysql_fetch_array($mailto)) { echo "<a href=">. $row['email'] ."/">Send out Newsletter</a>"; } Ive had it working but obviously it s making each email a seperate link that says "send out newsletter" i would like it to be one link that combines all the emails in a "mailto:" format.
View Replies !
Birthdays
In a MYSQL database I have stored when the members were born in the form "YYYYMMDD". Now I want a method to select every member who has birthday from today and up to 30 days into the future. I would prefer if this could be done in a MYSQL query. Can anyone tell me how to do this? I have figured out some solutions that will work, but unfortunately not in December because the year will turn.
View Replies !
Get Upcoming Birthdays
I have a column in a mysql table which is formated as 'date' called DOB. I want to create a query that will get all birthdays cumming up in the next ten days.
View Replies !
Arrays, Queries, Birthdays, ...
I have this problem that I cant solve. I have created an agenda (http://28edegem.scoutnet.be/agenda.php) . The agenda contains events and birthdays of the members. I query the events and birthdays per month and sort them on date. This method works fine for the events since they are all for the same year (eg 2003) but doesnt work for the birthdays because someone born in 1980-06-23 will be sorted before someone born in 1876-06-05 . This is a big problem because the person born on the fifth day wont be echo'ed . The problem can be easily be solved by only requesting the month and day part of the birthday. I'm not sure this is possible? If the above doesnt seem to work I can always order the array myself. How can I access a query array? I guess I can't use the fetch_row ?
View Replies !
Email Form That Uses Array And A Switch Call To Send Values In A Form To My Email
I've got a email form that uses array and a switch call to send values in a form to my email. The problem I'm having is I have a checkbox where users should be able to select multiple values however if they do when I receive the email instead of having the values it prints "ARRAY"...I've included a sample below: PHP Code: <? // Key => (required, type, string) // Types: // 1 - Long text // 2 - Short text // 3 - Textarea // 4 - Radio // 5 - Checkbox // 6 - Dropdown // 4, 5, and 6 require a 4th value in the array $mail_form_to = "me@email.com"; $mail_form_subject = "Real Estate Submission";
View Replies !
Display Birthdays Coming Up In The Next Couple Of Weeks?
I wonder if someone could help a novice to create a bit of code that will display birthdays coming up in the next couple of weeks? I have a mysql database with a date of birth(dob) date field but unsure how to check that field against the present date I only have at present, and don't knoe if this is right? while ($row = mysql_fetch_array($result2)) { $dob=$row["dob"]; list($year, $month, $day)= explode("-", $dob); $birth_day = "$day"; $birth_month = "$month"; $birth_year = "$year"; } Obviously I only need the day and month values but is there a pre built function to do this for me?
View Replies !
Using Php To Send An Email
I would like to know if anyone has experience with using PHP to email a stored password out of a mySQL database. I have a mySQL database which I allow users to connect thourgh PHP web pages and I want to provide the option to email the users password which is stored in the database. Could anyone show me the code to do this or explain where I need to look up to find the information. Thanks in advance for the help!
View Replies !
Cannot Send Email To Myself
I run Apache 2.0.59 and php 5 on WindowsXP. Server works OK. But I cannot receive the email with the results of the form. I made changes in php.ini file, changing [mail function] SMTP = outgoing.verizon.net sendmail_from= myE-mailAddress@verizonnet where outgoing.verizon.net is the actual ISP server name (I found it in outlook express accounts) The form has been processed without errors, but I didn't receive any email. Could you please help me with this problem?
View Replies !
Can't Send Email Through PHP
I am trying to send email through PHP, i used the following code and it seems working every lines...but i can't really get a email from this.. $from="Frankie"; $contents="hello ...how r u ar"; $subject="helo"; $to = "frankie@aristo.com.hk"; $from_header = "From: $from"; print("mailing"); mail($to, $subject, "", $from_header); print("sent");
View Replies !
How To Send An Email
Hi I want to know how i can send email to my customer list in a specific time for example every morning at around 10:00 am my server will send them email containing articles from my database. I want the server to be able to send email to my customers in a specific time everyday without human interaction.... is there a way to do this?
View Replies !
Send Email To AOL Via PHP?
I have code that sends email to customers via PHP mail() but the mail never gets to AOL customers. I looked at the headers of two different emails - one sent from the same hosting service/domain with SquirrelMail and the other via PHP. I see some differences that I am sure are related to why AOL is blocking the emails but I cannot seem to get the Return-Path to override from the PHP - I tried. Code:
View Replies !
Send An Email
I'm trying to set a script to send an email with information from a form. It's quite simple ... I got various sample scripts from internet , but when i run them , i get the message "mesage sent" but i never get the mail ..
View Replies !
Can't Send Email To
i'm trying to run the following code but i have always the same return "FALSE". Can anyone help me figer out way i have always the same message : 'Can't send email to ' and he send the email like spam: #!/usr/local/bin/php <?php if (mail("nelson@estudoplase.pt","teste","nelson@eusei.com.pt")) { echo "<h4>Thank you for sending email</h4>"; } else { echo "<h4>Can't send email to $email</h4>"; } ?>
View Replies !
Send Out Email
I would like to write a script which sends out emails every Tuesday at 12:00pm. I wrote the following code, but it didn't work. Code:
View Replies !
Can't Send Email
I'm having trouble sending email. PHP/mySQL/Apache is running on a Windows XP machine and we have an internet and email proxy. I have a script that connects to the internet through the proxy to grab html source code from external websites for checking links, but it doesn't seem to work with email and I dont think there's a SMTP or POP3 server installed on this Windows machine to send email with. Do I have to have a SMTP/POP3 server installed on this machine and would it be hard to do? Would I still have to connect through the proxy if I installed a SMTP/POP3 server? Or should I request help in modifying php.ini and continue working with the script that connects through the proxy?
View Replies !
Best Way To Send Email
I am sending email to the member of wmy ebsites through cron job which run every minute, the job pick one name from database and send a mail to his email id. Presently I am using phpmailer which uses smtp and smtp username and password to send the email. I have another alternative to send email, mail function. I want to know which method is best, i.e which causes less load on server and more reliable, I suppose phpmailer is more reliable as I find out that all mails using mail function does not reach destination. I need advice and suggestion from more experienced user, that which method is best and what are their pros and cons.
View Replies !
Send Email
I know how to send an email however I dont know how to do stuff in the email like make it bold and stuff i tried doing: <?php //code above $subject = "Dragonball Z - Registration"; $message = "<html><body><b>Thank you for signing up.<b>"; $message .= "<br><br><i>Good luck and enjoy</i>"; $message .= "<br><i><b>Founder:</b> tsilenzio</i></body></html>"; mail($email, $subject, $message); //code below ?>
View Replies !
Get Db To Send An Email
I've got a questionnaire online and the responses get saved to a database. When the database has received 100 responses, I'd like to get sent an email letting me know.
View Replies !
How Do You Send Email Using PHP.
I have encountered a problem that may be very simple for you guys. I used to use ASP for the contact page on my site, but now im running on a Linux server. How do you send email using PHP.
View Replies !
How Can I Set PHP To Send Email Through SMTP?
I'm gonna setup a page where i can send email to anybody as an anonymous user. it's just for education purposes keep in mind. I already have made a form which tries to email using the action mailto:myemailaddress@whatever.com but if that person sending uses Hotmail on Linux, that simply does not work. how do i change this form to make it work with PHP? -i know my ISP's SMTP server (my Linux didn't come with sendmail for some stupid reason) -the SMTP server does NOT require a name or password
View Replies !
Mac OS X Server Send Email With PHP?
I know the mail() function in PHP uses sendmail to send stuff, but unfortunately, sendmail is busted on my server and I can't get it to work. I posted something about that on Apple's site, but in the mean time... Is there anything else I can use that's compatible with Mac OS X Server that can send email with PHP? I desperately need to set up this mailing list script, and I need something that can do it. I know there are SMTP functions and stuff, but can someone explain those a little further? Keep in mind that I'm not trying to set up a mail server here, just trying to get something working that can send mail with PHP. Thanks.
View Replies !
Send An Email With HTML
Is it possible to send an email with some HTML code? I tried the following code, where $msg == '<html><body>... blah blab blah etc.</body></html>' : // Adresse de l'expediteur $entete = "From: $from "; // Copie du message $entete .= "Cc: $cc "; // Copie cachée $entete .= "Bcc: $bcc "; // Adresse de réponse $entete .= "Reply-To: $from "; $entete .= 'X-Mailer: PHP/' . phpversion() . ' ' // On peut ajouter ses propres en-tête $entete .= 'X-CeQueVousVoulez: Contact EASYJOKE ' // Type MIME $entete .= 'Content-Type: text/plain; charset=iso-8859-1 ' // Encodage $entete .= 'Content-Transfer-Encoding: 8bit ' mail($to, $subject, $msg, $entete);
View Replies !
Send Form To Email In Url
I need to know how I can have a form sent to an email that is in a URL. For example: If I have a site with a form that has First Name: Last Name: Email: Phone: in it, and a person goes to www.test.com/?email@emailaddress.com (or something like that)then I need the form results to go to that email address in the URL. If a different person has a person go to the same URL but uses a different email address, then the results of the form need to go to that email address. I also want it to send it without opening up a seperate email program (outlook, etc.)
View Replies !
PHP - Send Multipart Email
I'm having trouble trying to create a PHP file which will generate a multipart email message (containing both an HTML formatted part and a Plain Text formatted part). I have Googled for it, and found previous entries in Google Groups, but I just can't get it to work. My PHP File contains the following:
View Replies !
Simple Email Send
I've got a form which when submitted I'd like it to still do what it's doing BUT also send an email to me saying that the specific form has been submitted!?
View Replies !
Send Email With Attachment In PHP
I'm using PHP 5 with apache in linux. I'm now have a $content which stores the content of the email in HTML format. I would like to send this $content as the attachment of the email. How to deal with this? I am new in PHP.
View Replies !
Send EMail On Date
Does anyone know how to send an email from a script when a specified date/time is reached automatically. I know how to send the email but how would the code run itself when the date is reached?
View Replies !
Send Form Via Email
I have a form and it includes textfields, groups of check boxes and goups of radio buttons. I want the user to fill out the form ( I can handle the form validation stuff myself). I then want the user to hit "Send" and the form comes to me via email (i.e. no database usage). Code:
View Replies !
How To Send A Form As An Email ?
I bought two books on PHP and followed the author's instructions closely but I can never be successful in submitting a form. The information on the form is supposed to be sent as a string through email once users click the "submit" button. Based on the books, I have configured the php.ini file and so on but things never worked. I'm too disappointed. Any ideas or suggestions ?
View Replies !
Automatically Send Email
Is it possible in php to automatically send an email out on someone's birthday? I mean without anyone clicking a button to do so? If so, please let me know.
View Replies !
Send Email With URL Variables?
I have been trying to find out how to send an email message with variables passed through a URL all day... I have made many different mail forms and cannot get it to work. An example would be: http://www.testing.com/email.php/?mailto=test@test.com&subject=testsubjecy&message=body of the message here
View Replies !
Multiple Email Send
I have a text document with a few of my friends emails on it. I want to send an email to all their emails in one go How would i go about sending multiple emails?
View Replies !
Send An Email With Attachment
I want to make a form to send by email, but I want the user upload a file and then send the email. I have the script to upload and the script to send a email with attachment, but how can I make first the upload of the file and then set that file to be sended with the data collected from the form? Can anyone help me, I'm starting to learn PHP and it's a bit difficult to me, because I'm used to ASP.
View Replies !
Auto Email Send Using PHP
Ive set up a simple email sender for my site. When people register they are sent an activation email so they can enter and browse my site. however the email thingy isnt working properly. Heres the code i have so far: mail($email,$subject,$emailmessage,$headers); I have assigned the variables as usual previously in the code:
View Replies !
Create & Send Email
I have a need to send a premade page, with filled in variables from a posted form, to an email address supplied by the form. What is the simplest way to do this? And I do not desire to use a pre-canned script, as everything I learn gets applied somewhere else eventually.
View Replies !
Send Email On Given Basis
is there a way with php to have it send email say every month without having to access the script via a browser ? also without CRON I'm lloking to dothis without a scheduling program like CRON or Task Scheduler.
View Replies !
|