Mailing Newsletter - Sends An E-mail To All My Members
i'm using a mail form on my website that sends an e-mail to all my members but the problem is that i can only send text and not html he always send an html page as text. so i can not send pictures or the desighn that i made for my newsletter.
View Complete Forum Thread with Replies
Related Forum Messages:
Script That Emails A Newsletter To The Members
I am trying to write a script that emails a newsletter to the members in my database. I have it sending the email however it is not printing the name field in the email when sent. I even tried setting the name variable like so $name = $r1["name"]; Here is the code I am using: PHP Code:
View Replies !
Mailing Newsletter
I send about once a month a newsletter, to currently 250 people. This number is expected to grow. I have used mail() before, but now that there are 250 people this is not the preferred option. I've been reading that the PEAR:mail class would be a good option. I do not need any advanced options. The only requirement is that I can send out HTML e-mails to many people, with a customized message for everybody (because everybody has a different UNSUBSCRIBE link), using PHP.
View Replies !
Newsletter Mailing Program
Does anybody know of a good, reliable PHP newsletter mailing program? I have a Yahoo! dot com hosting (which is great - I recommend it). The hosting has a MySQL database backend. It also has PHP installed. The hosting, however, will not support Perl. I am planning to offer the newsletter mailing program to potential customers so it needs to be user-friendly.
View Replies !
Mailing List And Newsletter
1) How does a mailing list work? storing email IDs of visitors / users, handling these of multiple mailing lists, storing these email IDs in database. For what purpose these mailing lists are used. Any specific method of handling large count of email IDs? 2) In what way newsletter is associated with mailing list? How to enter and handle the contents of each newsletter? ********* Are there any reference sample codes available?
View Replies !
Sends .EXE Or .ZIP Using Mail()
I am in the process of creating a page where a user can type in his e-mail address (or their friends), and then hit 'submit' and each of the address' will recieve in their mailbox an e-mail with either a .zip or a .exe attached. (The file is less than 100k). I have a script that worked for sending .gif files as attachments, but as soon as I tried changing the file to .zip or .exe it no longer functions properly. For .EXE files it turns them into files with the extension .ZL9 PHP Code:
View Replies !
E-mail Sends
Here is what I am trying to do... 1. Search a database for people that want to receive a newsletter (works) 2. Get the e-mail address and business code (works) 3. Get the business name for the newsletter based on #2 (works) 4. Get the specials for the business for the day of the week (works) 5. Send an e-mail to each person (1) including the business name (3) and the daily specials (4) (kinda works) We will say that the business has 3 specials for the day. Everything works except for including all the specials for the day in the e-mail. All I can get it to do is display the last special, not all 3. Code:
View Replies !
Mail Problem - Sends The Email From URL
I'm avinga problem with the mail function. I need specific reply to and from addresses which are in the format of URL I set up the mail function mail($email, $subject, $message, "From: URL Reply-To: URL"); The problem is that it ignores the whatever and sends the email from URL. Any ideas how I could fix this or why it's doing it? Thanks a ton!
View Replies !
Mail Function Sends Backslashes
I have a contact page that uses the mail function, and whenever a message is sent, anything that should be ignored by using the backslash still upholds. For example, an e-mail I would get could say "I didn/'t do it." instead of "I didn't do it.". Is there any way to fix this?
View Replies !
Mail Problem - Sends A File Attatchment
I have a script that looks like this that sends a file attatchment to the server: $path = "/home/c/o/coilspecialty.com/html/uploads"; /*If you don'r know the path just make a small test create a php file with just <?echo "teste;?> and see the path of the error so copy and paste here */ $where_to_go = $path."/"; while (list ($chave, $valor) = each ($_FILES['file']['tmp_name'])) { if (move_uploaded_file($_FILES['file']['tmp_name'][$chave], $where_to_go . $_FILES['file']['name'][$chave])) { print " "; } else { print " "; } }
View Replies !
Mail Function Sends To Gmail But Not Hotmail.
Can anyone tell me what the requirements are to allow hotmail to collect messages. I have a script using the mail function at the moment that emails most email clients but the email doesn't seem to be accepted by hotmail. It email doesn;t even go into the junk box. Please help, The code: ini_set(sendmail_path, "/usr/sbin/sendmail -t -f webmaster@domain.com"); //Contents of an Registration Auto responce email(text format) $message = "Thanks for registering".$userName; $headers .= "From: Name<webmaster@domain.com> "; $headers .= "Reply-To: <webmaster@domain.com> "; $headers .= "X-Sender: <webmaster@domain.com> "; $headers .= "X-Mailer: PHP4 "; //mailer $headers .= "X-Priority: 3 "; //1 UrgentMessage, 3 Normal $headers .= "Return-Path: <webmaster@domain.com> "; mail($email,"Registration ",wordwrap(stripslashes($message)),$headers);
View Replies !
Sends SMTP Mail From Database Info
I've got this script that I want to use to send SMTP mail from a form that allows the user to select recipients from a dropdown list that is created using database info and send a message. Two of the selections in the dropdown list are groups. My script works fine when the user selects only one recipient. I run into trouble when the user selects one of the two groups. The message ends up getting sent numerous times to the people in the group. I received the message 9 times. I think the script is looping more times than it should. Does this make sense so far? Here's the script that receives the form data and connects to the DB to get the recipient email addresses and then sends the message: Code:
View Replies !
Sends A Mail Message When A User Registers
how to get around having our website emails being sent straight to yahoo (and probably hotmail) bulk mail folders. My website sends a mail message when a user registers to both the user and ourselves. Similar when a user changes their password/account info. At present, the mail is pretty simple. For example: mail($email,"Your my_domainname_here account has been updated",$user_message ,"From: my_domainname_here.com"); Ive come across a few other posts with the same problem, does anyone have any updated suggestions? Maybe changing the from header to include an email address? How do message board sites format their email when they send out an email after you change your account info etc? Im looking at some of the headers in my yahoo inbox and there is a piece called "Authentication-Results". I think im going to have to dive in and learn about all the different email header elements.
View Replies !
Email Sends With Mail() Function But Arrives Blank
The TextInputForm.html form and WorkMail.php script below work fine. But there is one exception. If the "maxlength" variables for the text input boxes in the HTML form below are increased any more than the current settings the e-mail won't work right. What will happen is the e-mail will send but when it arrives it will be blank when viewed in the e-mail client. For example, if the "maxlength" in the "AnyConcerns" text input box below is increased to 175 or above, and if all of the text boxes on the HTML form are full of text, the e-mail will arrive blank. The "echo" statements on the WorkMail.php script below work fine. If the "maxlength" settings on the text boxes are too high (resulting in a blank e-mail) the "echo" statements will still print out all of the input in the browser. That indicates that the $Data string is processing all the way through to the SendMail() function below. I was thinking that maybe, in order to guard against persons sending spam, the ISP has set the hosting server to limit the amount of text that can be sent in any one e-mail. Does anyone know what might be the problem? PHP Code:
View Replies !
Mail() Function Sends To Junk Folder On Hotmail
The following mail is sent in a PHP script via the mail() function whenever the user changes their password on our site. the following mail headers were taken from the recipients hotmail account...the mail is delivered to the account but is placed in the 'junk' folder even though it is not a spam email. The mail works and is placed in the user's inbox in aol/yahoo/outlook express. I understand that this is a common problem with hotmail. How can i get around this problem so that we can send mail and it will be delivered to the users inbox in hotmail? Code:
View Replies !
Sending Newsletter With PHP Mail()
I have a couple of hundred email of friends and I wanted to send them a newsletter for my site. I designed a little PHP script that fetches the emails from the database, and for each email, construct the newsletter body then invoke the php mail() function to mail to the person. The problem is only say half of them I guess got the newsletter the rest didn't. Apparently the code broke at some point, and I actually after waiting a long time saw the famous "The page cannot be displayed" page. So it must have been broken at some point while mailing.. is it because my host php couldn't take that many calls to the mail() function ? should I put some kind of delay after each mail() call to give php time to send the email ? or what is the best way to do this (send this newsletter to a lot of people each inidividually)
View Replies !
Send Html Based Mail Like Newsletter
I try mail() function. we can send plain text mail using this function. but if i want to send Html based mail like newslatter then how it is possibal in PHP. Please describe in detial. I have little idea that i have to use mime multipart mail format for this, i don't know who to use this with mail function...
View Replies !
Mail() Function - Using The Mail() Function To Send Emails To Members Of A Website
I am using the mail() function to send emails to members of a website. For some reason when I include words such as "free" or "winner" the mail does not send to any of the addresses - it just seems to disappear in space. I figured this out by trial and error - once I removed those words, it worked. I am running cPanel on the server and have no problem sending emails as long as they don't use those words. It seems to be blocking certain words - ones that I assume spammers would use.
View Replies !
Duplicate Mail When I Send A Mailing-list
I use mysql and the function mall to send a mailing-list. When I execute my script, certain person receives two or more identical messages. I think that the problem is in the server smtp which does not manage to send all the messages at the same time.
View Replies !
Exim / Php Mail Function / Bulk Mailing
I've learned that my new dedicated server comes with exim installed. From what I understand, you can use php's mail() with exim, but you can't modify the 'From' header. I need to do that so I've scurried in search of an alternative to the mail function. I found the function below ( from http://www.php.net/manual/en/ref.mail.php#41340 ) works well, but, not being at all familiar with exim, I have a few questions about it. Is it feasible to be used in a bulk email script (1 call per email)? I'm a little concerned about the sleep function. Obviously that's going to slow down an already somewhat resource intensive bulk email script. So what is it actually there for and is it really even needed? If this isn't a doable solution, is there something else you could suggest?
View Replies !
Mail() Sends As "nobody", Causing Server Error
I'm troubleshooting a program that I didn't build, so forgive me on this one. It's called email.php, and it looks like a program that the original developer must have downloaded from somewhere. The part of the program that sends an email states this: $headers = 'MIME-Version: 1.0' . ""; $headers .= 'Content-type: text/html; charset=iso-8859-1' . ""; // Additional headers if (isset($_REQUEST["bcc"])){ $headers .= 'Bcc: '.$bcc. ""; } $headers .= 'From: '.$from.'' . ""; if (isset($_REQUEST["cc"])){ $headers .= 'cc: '.$cc. ""; } if (isset($_REQUEST["bcc"])){ $headers .= 'Bcc: '.$bcc. ""; } // Mail it ......
View Replies !
Members System - Members Profile
I am trying to complete a members system. I have finished the register, login, and logout parts and am now on the members profile part. I don't really know how to go about this. I don't have much coding experience and that is why I'm doing this.
View Replies !
Sends Anonymous Emails
I have this script that sends anonymous emails. It worked until i added the super spam mode. I'm not good with php by the way. Here is both my html file (with the form) and my php file (does the work): Code:
View Replies !
Script Sends Php Code
I installed a search script I downloaded on my main site. What it does is opens a template (the standard page template) and processes the lines individually. Sees its 'search' commentary line, and adds its HTML using 'print'. Problem is, by using 'print' it prints php code right on the page - that code does NOT get processed before it is sent out. I really need the lines before and after search to go through PHP and get processed, almost like an include. But I can't revamp the whole script to use includes.
View Replies !
Email Form Sends Before Submit
I have created a email form that gathers info from my user(student) and can send the completed email to an instructor's email. The problem I am having is it sends the email as soon as the page loads. I have tried adding an "if submit" clause, but everything goes haywire at that point. Code:
View Replies !
Sends The User An Activation Code.
My join form (which I'm guessing you're all farmiliar with now) now sends the user an activation code. This, when clicked sets the activation column on the table from 0 to 1. This bit works fine, however, when I get to logging in, obviously you don't want someone logging in you isn't activated, so I've used an IF statement as below: Code:
View Replies !
File Sends Headers On Very First Line
PHP Code: <?php if (headers_sent()) print_r('headers sent'); // do other stuff ?> I have a file, "classes.inc.php", a library of PHP version 4+ classes. This library file, the moment it is included, causes headers to be generated into the HTTP headers! I have no explanation as to how it does that, it just does that. I have tried everything I can think of, removing extraneous whitespace, using PICO, deleting and recreating the file in PICO, to no avail. There is no instance of print_r, echo, sprintf, nothing anywhere in any of the classes in the file.
View Replies !
Mass Mailer Sends Duplicates
I wrote a mass mailer program and am having problems with it sending duplciate emails to the same email address. Sometimes it will send as many as 4 or 5 emails to the same address. I am using the phpmailer class version 1.73. I also have it set up to use a POP3 account. I am going to be changing it so that I use either sendmail or qmail depending on the server I set it up on. I have tried writign the program several different ways to try to stop it from sending duplicates, but it still does. When I run a test with 2 or 3 emails in the test table in the database it only sends one message to each email address, but when I send out to several hundred or more email addresses it sends multiple emails to each address. It sends to all the addresses in the query one row at a time, then it proceeds to send to all of them again.
View Replies !
Sends Emails With An Attachment To An Email Address
I've got a script here that sends emails with an attachment to an email address that is retrieved from an html form. The email sending code is include below. The problem: when sending the email to certain email servers, the attachment section of the email gets removed and I end up with an attachment of zero kb. Other servers do accept the attachment as expected. Code:
View Replies !
Sends The Email Successfully Even If There Is Illegal Charactors?
The remaining 2 problems are even though it validates the email address with preg_match and echos an error, it still sends the mail and it checks for invalid charactors but (you guessed it) it still send the mail. The script works fine, it checks if email, name and subject are filled out and if not writes an advice on the page. It also checks for illegal charactors and correctly formed email address and writes the error message correctly. The problem is that it sends the email successfully even if there is illegal charactors and/or malformed email address, in other words it knows about the problems but doesn't prevent the email being sent. Code:
View Replies !
Newsletter
i'm making a newsletter mailer for a small company, they sign up with name and email.. it gets stored in database .. then I made a admin page, an option is to send out an email or newsletter whatever, when you hit send it should send the email to everyone on the database starting with therename EX: Code:
View Replies !
A Link In An Email That, On Click, Sends The Headerinfo To A Server
Is it posible to make a link (to a php-file on a server) in an email that, when you click on it, sends info about who the reciver of the email is? Lets say I send out an email thru an alias to a group of people and I want to give them the opportunity to sign up for an event using that link. Those that click the link are added to a post in a database (MySQL), eg. with their email adress, initials, name... whatever. I guess that it would be easy if it just takes the contest of the to-field in the emails headerinfo? If a spammer can do it, so can I :o) And... if you have an answer please assume that I know practicly nothing about php :o) I have made a few sites with php and MySQL, but nothing fancy - just simple guestbooks etc.
View Replies !
Sending A Newsletter
I'm setting up a web-page for my boss, including a simple newsletter sent from a form-mask within an admin-area. I was wondering, weather I should code the script to send ONE email to all people in the list at ONE time, or I should use a loop to send everyone a seperate email, to avoid that they get to read other people's mail-adresses. But this would probably produce a lot of traffic and would take much execution time.
View Replies !
Mass Newsletter
I have to send a newsletter to more then 8000 address! What is the best way to do it? sending all together?, with mail() function?, with smtp?, divided in groups....?
View Replies !
Newsletter In PHP (4.3 Compliant)
I'm looking for a PHP script in order to manage a Newsletter. I need the equivalent of "phpMyNewsletter"(*) but PHP v4.3.x compliant. (*): A mail should be send to the subscriber in order to confirm his subscription, he must have to click on a specific url before beeing added in the database (this should avoid any "forced" subscription just using a form).
View Replies !
Automtic Newsletter
i wanna make an automatic newsleter; meanings there is no page to force the newsletter to be sent..i wanna server to handle this.any ideas?
View Replies !
HTML Newsletter
I'm having a spot of bother where a client of mine is unable to read his email which I've sent as HTML newsletter, now I don't why because in the code below I have defined it to render the HTML, and all he gets is the HTML code. Now I'm not quite sure if he has got his email client to view HTML only, or I'm going wrong somewhere. PHP Code:
View Replies !
Newsletter Sending
I am looking for a PHP open source application to compose and send newsletters. What do you think are the best newsletter projects at the moment?
View Replies !
Newsletter Projects
I wrote a post few days ago, but I didn't get replies. I am looking for a PHP open source application to compose and send newsletters.
View Replies !
Simple Newsletter
I have made a simple newsletter for one of my customers, and have recently found out that it does not allow html. I am sure it should.. here is the code:
View Replies !
|