How to send html newsletters containig images in email
Newsletters
Collapse
X
-
Tags: None
-
Hi,
Firstly skim through this...
Standards for HTML Emails
Then... use something like lotus notes or any other email software capapble of sending html e-mails. -
To create an HTML newsletter you simply create a web page and then upload the code from that page to your distribution service.Originally posted by Shalini BhallaHow to send html newsletters containig images in email
set the header
$headers = "From: $from\r\n";
$headers .= "Content-type: text/html";
and use the mail function
mail($to, $subject, $message, $headers);
set the image path in the <image> tag in HTML template.
also u can use the web based free HTML editor to create the HTML template like TINY MCE,FCK Edotor .
Thanks,
Sandeep AgarwalComment
-
-
hi,
One of the complications is that you are in the html forums. If you have created the template you will need to find a service provider that allows you to send html emails...
Email marketing is getting harder to do well. This is all we do. Realize your success, get your word out and relax just a little more. We can help.
That is quite a popular one in the US, but if you google the term "html email distribution" and search you country you can find one that more suits your needs.
The code that the other posted will work fine providing you use HTML on a server somewhere, so if you have access to a PHP server and know someone who can, you cans set that up for your self.Comment
-
I have written following script
<?
$headers = "From:$from\r\n ";
$headers .= "Content-type: text/html";
$from = "xyz@yahoo.com" ;
$to = "hij@yahoo.com" ;
$subject = "Test mail";
$message = "<html><fon t color='blue'> Hello! This is a simple email message.</font>";
$message .= "<img src='http://www.zyz.com/demo/try.gif'></html>";
mail($to,$subje ct,$message,$he aders);
echo "Mail Sent.";
?>
but i am not getting image in my newsletter can yu explain why ?Comment
-
Please note that you should not assume anyone is using the programming language/script you are showing. Do not assume anyone can, or is willing to, use the software you are showing. You should not assume the user is even using Windows or any Microsoft software. In the posts above, I would not be able to do any of the offered solutions.Comment
-
This code is correct and must be display image .but display image setting depend on the mail server if u used the outlook them set the download image or u are checking in gmail also set the display image ..Originally posted by Shalini BhallaI have written following script
<?
$headers = "From:$from\r\n ";
$headers .= "Content-type: text/html";
$from = "xyz@yahoo.com" ;
$to = "hij@yahoo.com" ;
$subject = "Test mail";
$message = "<html><fon t color='blue'> Hello! This is a simple email message.</font>";
$message .= "<img src='http://www.zyz.com/demo/try.gif'></html>";
mail($to,$subje ct,$message,$he aders);
echo "Mail Sent.";
?>
but i am not getting image in my newsletter can yu explain why ?
or u can test this right click the not displayed image and download this image so u can see this image.
otherwise may be ur image file path error.Right click the not displayed image icon and see the properties and copy the usr and paste in web browser then if display the image then ur path is correct otherwise path is not correct .
Regards,
Sandeep AgarwalComment
-
i did not got ur idea of assuming or not assuming . I am so sorry for giving u a troble of being more clearer about this as need to develop this tech for using in my company and want to learn the best method
regards
ShaliniComment
-
Can u give me more detail about this problem i think ur problem is mailing function....
Ragards,
Sandeep Agarwal
Originally posted by Shalini Bhallai did not got ur idea of assuming or not assuming . I am so sorry for giving u a troble of being more clearer about this as need to develop this tech for using in my company and want to learn the best method
regards
ShaliniComment
-
-
Comment
-
Hi,
I do want to help you.
But lets start again.
So you have a html email that has already been written, and you would like to send it to multiple recipients. What do you want to email it from?
eg. do you have hotmail, gmail, outlook, thunderbird or any other.Comment
-
Ok the confusion is here .....
I am a trainee webdesigner and i have a knowledge of PHP many clients for my company ask for newsletters so i wanted to learn , so solution given by sandeep worked for me .... The only thing is i am not getting flash movies linked with that...
And one more thing i wanted to know is that do newsletter improve our page ranking or hits ?
because ultimatly data is being fetched from our site only.......
And for awareness i would like to know how i can make a newsletter in hotmail, gmail, outlook, thunderbird or any other also..
regard
shaliniComment
Comment