Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





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 Complete Forum Thread with Replies

Related Forum Messages:
Advice Needed In Making A Dynamic Mail Send Form Based On #s Of IDs
Please note, this is NOT used for SPAM, this is for teachers who have signed up for one free video per year and we now have it integrated with our SQL CRM program. We are getting an enormous amount of traffic (since we give them a video worth $30-$40 dollars for free). We have given away thousands in several days. Code:

View Replies !
Mail Function :: Send Form In HTML Mail
I am trying to use the PHP mail function to repopulate the information that has been filled out on a form and send the form out in an html email the same way that it looked when the individual filled it out. The problem I am having is with the Radio buttons and repopulating them. Code:

View Replies !
Send HTML Mail
I'm trying to send a html email. My message headers are as follows: PHP Code:

$header = "From: someone@yourwebsite.com";
$header .= $messageBody."";
$header .= "--$boundary" .
"Content-Type: text/html; charset=ISO-8859-1" .
"Content-Transfer-Encoding: base64";
$header .= chunk_split(base64_encode);
$header .= "MIME-Version: 1.0";

View Replies !
Send Mail In HTML Format
I'm sending emails through my site and now it's only text based. I'd like to send my email formatted in HTML with a logo. How can i do that?

View Replies !
How To Send HTML Format In A Mail?
I know send a mail using mail() function in php. But how do I send a html document in mail using php code? I tried it using the same function by inserting the html tags in the message body. It is directly displaying the tags instead of executing those.

View Replies !
Send HTML Mail With PEAR
Im trying to send a html mail through PEAR but what I get in mail is blank email. Code:

View Replies !
Send HTML Email Via Php Mail()
I'm using php function mail() to send emails. However, I can only text. Can I send HTML mail which inclids <a> links, <img> imgs, and font styles?

View Replies !
Send The Mail, My Html Tags Show
I am trying to send emails from my script but when I send the mail, my html tags show. Code:

View Replies !
PHP Mail() Function To Send Results Of HTML Forms
I am using the PHP mail() function to send me the results of HTML forms. However when I receive the data by email, it always says it is from the web server domain name. How do I make the email look as though it has come FROM me at my address?

View Replies !
Send A Form For E-mail Without The Lost The HTML Format.
send a form for e-mail without the lost the HTML format.

View Replies !
Send Newsletter
I have a .txt file, in which my newsletter recipients are stored. it looks like this:

email1@email.com
email2@email.com
email3@email.com
email4@email.com
...

I want to send them all an email directly from my site, to each of them seperatly, so they couldn't see each others e-mail, and also with 1 script and 1 click Code:

View Replies !
How To Include A Template HTML File To Send An E-mail Through Phpmailer
I'm using the script "phpmailer" to send an e-mail after my user enters in some information. It works great, but I'm running into too much complexity with how to include HTML to send with the e-mail. Currently, my script looks like this: Code:

View Replies !
Send A Monthly Newsletter From My Webpage
I'm using PHP to send a monthly newsletter from my webpage to my entire mailinglist (not too big). Until now I just do all the db queries and stuff in the script, then put the necessary info into variables and include these in one big variable. PHP Code:

View Replies !
Problems With Send Newsletter To More Than 2 Users
I download a free php script to mannager Newsletters. It works fine to tell the true.

This script use the class.smtp.php file to send the emails. I setup it right using the IP of the mail server, an email account to send all the emails and of course the password of this email account.

It works fine if I use to send no more than 2 emails at the same time (1 by 1). But if i try to send more than 2 or 3 emails in my newsletter list, I recibe this message: 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 !
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 !
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 Replies !
Turning Newsletter From Plain Text Into HTML
I have a Newsletter script that outputs just raw text, even when I try to include some HTML. I would like to know how to change it from plain text to HTML. Here's the script:
PHP Code:

View Replies !
Recieve A Mail Based On The Mail That Is Added On The Form
I am creating a php form which is connected with Mysql data

The thing I want to do is after the user press on submit button first redirect to a new page "booking_details.php" and the same time to recieve a mail based on the mail that he added on the form

I do not know php code so I do not know how to edit my page.

View Replies !
Get The Mail Function To Send Mail After Processing My Forms Locally
I am using an Apple Mac Book Pro computer on which I am running MAMP (Macintosh, Apache, Mysql, PHP) I can not get the mail function to send mail after processing my forms locally. I checked the php.ini file to see what could be the problem and I believe I have it configured properly.

View Replies !
Php Mail() Function Doesn't Send To Pop3 Mail Address
I'm writing a registration script for een webhosting company but the mail() function i used works only for hotmail addresses and not for pop3 email accounts, it also works for other not pop3 email accounts, does any one know what i should do to make this work. I used the same method before on an other server and there it worked perfectly.

View Replies !
Why Does Mail() Only Send Messages To Some E-mail Addresses?
I've got a form that I use to collect information and store it in a MySQL database and use PHP to send a mail() message confirming registration. When I use my work e-mail address, I never receive the message, but when I use my home e-mail address, I get it right away. What am I doing wrong?

View Replies !
PHP Mail() Function Failing To Send Mail
Our setup: PHP 4.3.11, FreeBSD 5.3 RELEASE, Sendmail 8.1, 1 host
environment, 2 jails.

Our problem: While we can send email from the command line just fine
in one of the jails, we cannot use the php mail() command to send email
using sendmail at all. The function, when executed, does absolutely
nothing. No error, no reports to the maillog, nothing.

I've read somewhere that it's "not possible" to send mail using the php
mail() function within a freebsd jail, but i'm nearly certain we have
it working this way on another server, but can't seem to figure out the
issue.

View Replies !
Send Out The Most Basic E-mail Using PHP And The Mail() Function.
im trying to send out the most basic e-mail using PHP and the mail() function.
the problem i have is that it will always return true but the message is never received and im not sure if its even sent. heres my code....

      $email = "jonathangilmartin@yahoo.co.uk";
      $subject = "Subject!";
      $body = "whatever you want to email";
      $from = "From: Jon <john@beach.es>";
      $p5 = '-f john@beach.es';
if(mail($to,$subj,$mesg,$from,$p5)){
echo " sent ok ";
}
else {
echo " failed ";
}

I think the problem I have could be due to the server I am hosting the site on, but dont quote me on this as im not sure. The site is hosted on my university server, ive now graduated so I cannot ask the support team if any ports are blocked. Does anyone know a way of testing a servers ports, if this is even necessary of course !

can anyone explain the typical server requirements to send e-mail using PHP, i assume port 25 must be open and the server must accept SMTP. Forgive me for asking a dumb question but I take it that i cannot test the mail() function from my testing apache server installed on my local PC ?

Also you will have noticed that i have a yahoo e-mail address, would i have to make any changes to my account to get this working ?? its only a standard free e-mail account.

View Replies !
Mail() Code Doesn't Seem To Send Any Mail
mail($toemail, "Greetings card from $from", $message, "FROM:Website Name<noreply@ourdomain.com>") or die("MAIL NOT SENT");

This code doesn't seem to send any mail - any ideas? Also are there any more advanced features that can be added to validate if the email is sent or not?

View Replies !
Mail Function Send Mail And Attachement
i can send mail and attachement in php with "mail function "

$s = mail($to,$subject,$cont, $headers);

View Replies !
Using The Mail() Command To Send Out An E-mail Message.
I am using the mail() command to send out an e-mail message. But, I am getting different results between two different clients. I am curious if this is a PHP problem, or just a problem with the way the clients are interpreting the headers. Code:

View Replies !
Formmail Send The Form As A Mail (mail())c
-one html -file containing a form, submitting the form (action, onSubmit)
-redirecting to a php processing -file, configure and send the form as a mail (mail())
-if mail() returns true: redirect to the form, AND a new window containing submitted data from the form poping up. Close popup window: return to the form.

View Replies !
PHP And Web Based Mail
PHP can create application about web based mail.. like yahoo ,hotmail or not..?? Almost articles explain only view, read, reply, attached file function.. I would like to know how can php connect to mail server for creating new account for any user real time, does it can do..?

View Replies !
Web Based Mail
I want to make my discussion forum page become more powerfull.Let's say, if someone send an email,then the subject become the new topic's subject. and it will record the sender's name and the massage too.

View Replies !
Send Mail Using Mail() With Attachment
im trying to find out how to send an email with the mail() function and add an attachment

basically i want the user to be able to send an email and browse their computer and attach a word doc to the email any ideas on the attachment bit ?

View Replies !
Mail Function - How To Send Mail With Php.
I'm learning how to send mail with php. only thing that mystifies me a bit is I can't get NAME of sender to appear in e-mail INBOX under "from". I only see e-mail address. I'm
coming from Java, with Java you can set it up so whatever user puts under "name" in the form you can grab and in e-mail INBOX under "from" you see sender's name, not e-mail address. I would like to be able to do this with php.

View Replies !
Web Based Mail,qmail
i want to develop a web based mail like hotmail and yahoo using PHP. i have only POP. how do i do it. where are the read messages stored? - database or files? Also my server has only qmail and not sendmail. is qmail supported by php mail function.

View Replies !
PHP Web Based Mail - What's The Best Package?
I'm looking for a PHP based Web mail system to front our POP mail server. I need something with a serious consideration for security. I will be pimping this as an alternative to an MS Exchange's Web based e-mail so it needs to be tight. Any recommendations?

View Replies !
PHP-based HTML Validator
anyone know of a good PHP-based HTML validator? something that resembles what they have at W3C, or maybe something that can point out obvious syntax errors and tag typos.

View Replies !
Sending HTML Mail To Outlook Express With Mail()
I'm sending out an HTML mailer using the mail() function in PHP. I'm appending all of the headers to the message. This message displays correctly in Hotmail, Outlook 2000, and even Mac's OSX mail client. But, for some reason, Outlook Expess (on Win XP & OSX) displays the HTML code and doesn't render it.

If, however, the recipient copies the HTML code and composes a new HTML message in Outlook Express, it gets sent correctly.

This particular user is also getting other HTML mailers that display correctly, so I know that the client is capable of accepting HTML mail.

I'm led to believe that PHP's mail() headers are not being interpreted correctly. In fact, they appear as the first 3 lines in the body of the message when viewed in Outlook Express. OK, here are some samples to tie this all together: First, the mail() code I'm using: PHP Code:

View Replies !
Managing Imap Subfolders With Web Based Mail
I am attempting to write my own webmail client with php to interact with an imap server. I have looked at other systems to get an idea of how to implement folder management without success.

The php imap functions don't seem to deal with this at all. There are functions to list mailboxes but not subfolders. Specifically I need to:

Display a list of subfolders
Display the messages in each subfolder
Delete and move messages form subfolders
Create Subfolders
Delete subfolders

From the other webmail clients I've seen only Squirrelmail seems to deal with folder management and for the project I'm involved in I need to create my own client.

View Replies !
Php Mail Function - Use Different Subject Based On The Recipients
I am wondering if there is a way to use different suject line for different recipients.

I am using PHP mail function to send out email which confirm account registration ....

View Replies !
Web Based HTML Email Client
I have successfully built a web based email client that supports HTML. The question I have for you is why do I get "3D", "=" with a carriage return, "=A0", "=20", "=09" all over the place (without quotes of course), and thats just what I've seen so far.

I looked at the source of the email in my email client (I'm using Netscape Mail) and they are there too but my email client does not show them. How does my email client know that they aren't suppose to be shown and what do they do in the first place?

View Replies !
HTML Header Based Extraction
I consider myself pretty proficient in PHP I have written a number of high quality database driven websites in PHP but I am having trouble with what I am trying to do now. I have a variable filled with HTML data that will look something like this. Code:
Blah blah blah

<h1>Whubba</h1>
<h2>ROFL</h2>
This is a test
<h2>OMG</h2>
Yep, it's a test
<h1>LOLZ</h1>
No! It's not!

but there is no particular order, LOLZ could be before Whubba and OMG could be before ROFL. In some cases LOLZ, OMG, or ROFL may not even be there. Only a few things are certain, the level 1 header Whubba will always be there. If ROFL and OMG are present they will always be after Whubba but before any other level 1 headings that follow Whubba and they will always be level 2 headings.

So I need to extract the content of ROFL and OMG up until the next heading (it could be another h2 or a h1) and save that information in a variable, one for ROFL and one for OMG. How would I do this?

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 !
Getting HTML Source Based On User Cookies
I am attempting to get the HTML source of a web page on a different domain, but the source is based on the client's cookies they have stored for that site. I've tried using javascript with iframe's and XMLHttpRequests and HTMLHttpRequests, but it's restricted to inside my domain. With php you can get the HTML source of any web page using the file functions, but since its server-sided i don't think I would be able to open the page and get the HTML source based on the users cookies. Is there someway using PHP I don't know about, or mayb combinding javascript and PHP in some sort of AJAX engine?

View Replies !
Why Can't I Send A Mail With PHP
I can't send a mail with the following mail header:
$headers = "MIME-Version: 1.0";
$headers .= "Content-type: text/html; charset=iso-8859-1";
$headers .= "From: "User" &lt;user@inter.net&gt;";

Therefore $headers is set to (echo $header;)
MIME-Version: 1.0 Content-type: text/html; charset=iso-8859-1 From: "User"
<user@inter.net>

The mail has not been delivered and my PHP server says:
[24-Nov-2005 00:37:19] PHP Warning: mail() [<a
href='function.mail'>function.mail</a>]: SMTP server response: 501 5.5.4
Invalid Address in C:PHPfile.php on line 132

If I use
$headers .= "From: user@inter.net";
instead of
$headers .= "From: "User" &lt;user@inter.net&gt;";

is works perfect.

View Replies !
Cant Send Mail
The problem is I am the mail server administrator also. This is a small
company of 4 ....

View Replies !
Send Mail In Jsp
how to send a mail using jsp on a linux platform (cobalt)...i have tried using the smtp part,but is gives the security access error.

View Replies !
PHP Doesn't Send Mail
I can't make my PHP send mail even if I set an SMTP for it? What could I have missed. Upon using mail(), it sends a true flag, but I never receive the mail. Why? What have I missed out.

View Replies !
How To Send An E-mail....
I have a form and one of the fileds is a users e-mail address

I have the validity set-up and the form now works, accepts data and posts to
a mysql database - that side works great...

I now need to use the e-mail field in the form to send a mail back to the
user who entered the form to let them know registration was a sucess...

How do I do that?

I'm suspect there is not an easy way so a link to a website or code would be
helpful..

Sorry about the crosspost - but this is an urgent one and I need a quick
answer... i've googled but founf nuthin :(

View Replies !
Can't Send A Mail
I don't know where my problem is. Hopefully someone can give me
some hint to explore the problem more. I am running Apache 2.0.48
wih PHP 4.3.4. The apache is running as nobody. I want to use the
mail() to send out the email from a web page but it can't work. The
web server is on the red hat linux 9.0 with rpm sendmail-8.12.8-9.90
and sendmail-cf.
In the begining, I got the error message, 'SYSERR(nobody) can not
write to queue directory /var/spool/clientmqueue/ when I use the
mail(). I kind of make some progress if not worse to follow the
sendmail/SECURITY. I don't see the error message above anymore.
However, the mail does not go out. Here is what I get in maillog now.
Dec 9 20:48:32 flash sendmail[7859]: hBA1mWr6007859: from=nobody,
size=112, class=0, nrcpts=0,
msgid=<200312100148.hBA1mWr6007859@flash.ninds.nih.gov>,
relay=nobody@localhost

View Replies !
Php - Send Mail
I'm using this bit of "send me an email" code in a different part of the site and it works great.

So, I pasted it after this insert query (see below) so as to learn when a "new member" has registered, but when I test it, I'm not receiving mail -- even checked the Bulk folder. What do I need to change to make this work? Code:

View Replies !
How To Send Mail
i got a dillema

i have :
$message = "name:$name
lastname:$lastname";
$message .= "hobby:$hobbies";
$mail ($to,$sub,$message);

but if they leave empty the hobby i don`t want to send  : hooby : <empty>  only to send 
$message = "name:$name
lastname:$lastname";
and if they complete the hobby  send the message completly
$message = "name:$name
lastname:$lastname";
$message .= "hobby:$hobbies";

something like this.

View Replies !
Mail() Won't Send
I'm having a problem with mailing large attachments (~20-50MB). The attachment contains ~100,000 to ~300,000 lines. There's no size limitation with the mail server. The function works fine when the attachment has less than 80,000 lines.

View Replies !
Mail Won't Send
this is my code for sending email to addresses from a DB unfortunately the email doesn't go out. do any of you know what's wrong with the code? PHP Code:

<?php
if($_GET['contact'] = "TRUE") {
$subject = $_POST['subject'];
$message = $_POST['message'];
$result = mysql_query("SELECT email, email2 FROM table WHERE username = 'Something' ") or exit(mysql_error());
while ($row = mysql_fetch_assoc($result)) {$list[] = $row['email'];}

$to = 'someone@free.net'
$headers .= 'to: someone@freet.net' . "";
$headers .= 'from: someone@freet.net' . "";
$headers .= 'bcc: ' . implode(',',$list) . ".............

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved