Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

newsletter with images


Guest

Recommended Posts

Can somebody tell me how i can send a newsletter with images

 

I tried to do it in html but i don't know were I should store th image files so that I get those f*cking red little crosses everywhere.

 

Please help me!

 

Thanks in advance

Link to comment
Share on other sites

The html-newsletter is on my TODO list. I will inform yous when it is ready for testing.

You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist.

Link to comment
Share on other sites

  • 4 weeks later...

Hi Jan

 

Do you think it would be possible to have a newsletter signup box on the site for email addresses only. (html and text)

Sometimes visitors will add their email address but wont take the time to open an account.

Once they receive your newsletter, they will return and open an account, and as a result can opt in to the mailing list. As they have already signed up for the newsletter in the fist place, we would need to ensure they do not get the newsletter twice.

 

What do you think

John

Link to comment
Share on other sites

i agree with johnglobal's idea...non-customers should be able to receive newsletters without being required to open accounts, simply put those people into a separate 'newsletter' table, then when sending newsletters, just make a query which harvests emails of all people with accounts plus all addresses in newsletter table, then send out newsletter to the list created by this query...

 

but i don't agree about html mail, it is a potential security risk in many people's eyes...

 

:) tom

Link to comment
Share on other sites

Jan, sonce you are going to be working on a newsletter contribution, you may also want to take a look at my Newsletter Auto- Unsubscribe, to see if they can be released together in an 'enhansed' Newsletter.

 

http://www.oscommerce.com/community/contributions,913

 

Thanks.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

  • 1 month later...

A few quick thoughts on HTML Newsletters:

 

HTML is a virtual requirement. There are instances when the response rate will be higher with HTML newsletters. Since OSC is tailored to selling things, I think that higher repsonse rates are appropriate. Let individual webmasters elect to use them or not.

 

Non-account subscribers is also very good thing. As is automatic unsubscribing from the newsletters.

 

Allowing more classifications than just subscribed could be beneficial. Even better would be a query engine that pulled certain sales/visit statistics and built newsletter lists off of this. For instance, all those who purchased product "X" in the last 90 days and who have not reordered or revisited the store, and are subscribed to the newsletter/notification list. Being able to save these queries as a list building engine would be wonderful.

 

(I wish I was more adept a coding... sigh...)

Ryan Thrash

Link to comment
Share on other sites

Can somebody tell me how i can send a newsletter with images

 

I tried to do it in html but i don't know were I should store the image files so that I get those f*cking red little crosses everywhere.

 

Please help me!

 

Thanks in advance

 

Just wanted to add something to this thread, as I see it is a little old.

 

When sending the images out with your newsletter, in order for the recipient to receive the letter with the images, (That are not attachments, (or) Little Red [X] Boxes. ) Then you will need to have the images in a folder in your OSC Directory. Like example:

in the images/newsletter/ -->This is the folder where your images are stored<--

Now, what you do is simply. Add the image to your Newsletter via, the internet link call i.e.:

Pearl.jpg

 

<!--Below is what the source looks like when you make it in "Outlook Express"

Just simple copy and paste the source here, in the "SOURCE" of a new message, with "View | Source Edit [Checked]" And then preview (or) Edit.

To view the image. //-->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD>

<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>

<META content="MSHTML 5.00.3502.5390" name=GENERATOR>

<STYLE></STYLE>

</HEAD>

<BODY bgColor=#ffffff><FONT face=Arial size=2>This is just a sample newsletter 

with an Image being stream<BR>From Our Server, to show how this is 

done.<BR><BR></FONT><!--Below is what the source looks like //--><IMG 

alt="CFF Music Distribution" height=119 

src="http://www.cff-music.com/Catalog/images/newsletter/Pearl.jpg" width=174> <!--End URL Image Src //--></BODY></HTML>

 

Hope this has helped some people that wish to send out images, with there Newsletters.

 

Good Luck & HTH Some one.

Please let me know, if you shall need any additional information on this.

 

Wayne

Carrz-Fox-Fire Promotions

Thank You

Wayne & Carr Barron

Link to comment
Share on other sites

I treid this 100 times but i cant get it to work

i copy this in the newsletter creator in OSC:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD>

<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>

<META content="MSHTML 5.00.3502.5390" name=GENERATOR>

<STYLE></STYLE>

</HEAD>

<BODY bgColor=#ffffff><FONT face=Arial size=2>This is just a sample newsletter

with an Image being stream<BR>From Our Server, to show how this is

done.<BR><BR></FONT><!--Below is what the source looks like //--><IMG

alt="CFF Music Distribution" height=119

src="http://217.120.92.164/catalog/images/nieuws/xxx.jpg" width=174> <!--End URL Image Src //--></BODY></HTML>

 

when i look in my outlook express i see exactly the same code but nu picture

but when i make a new mail in outlook itself and copy this code in Source and hit preview it seems to work,but i cant do it from out OSC???

Link to comment
Share on other sites

I get several SPAM mails from anything and evrything and see pictures in emails,but i cant view my own sent messages in html style? even if i select to sent them as html,when recieving it back it shows all the same as it was sended :roll: :?:

Link to comment
Share on other sites

when i look in my outlook express i see exactly the same code but nu picture

but when i make a new mail in outlook itself and copy this code in Source and hit preview it seems to work,but i cant do it from out OSC???

 

I have just tested this myself, and it seems that it does not work,

Even with "Use MIME HTML When Sending Emails = True" ???

So I am at a loss on this one, It seems that OSC may not be able to send

Out HTML E-Mail???? I am going to do some more checking.

 

Wayne

Carrz-Fox-Fire Promotions

Thank You

Wayne & Carr Barron

Link to comment
Share on other sites

wHiTeHaT wrote:  

 

when i look in my outlook express i see exactly the same code but nu picture  

but when i make a new mail in outlook itself and copy this code in Source and hit preview it seems to work,but i cant do it from out OSC???  

 

 

I have just tested this myself, and it seems that it does not work,  

Even with "Use MIME HTML When Sending Emails = True" ???  

So I am at a loss on this one, It seems that OSC may not be able to send  

Out HTML E-Mail???? I am going to do some more checking.  

 

Wayne

 

Have you checked the mail.php? There is a line you need to change in the mime incoding you need to change it from add_text to add_html. you can find it by doing a search on the adminmail.php file. Make sure you backup before making the change!

 

HTH, Tony

Link to comment
Share on other sites

Have you checked the mail.php? There is a line you need to change in the mime incoding you need to change it from add_text to add_html. you can find it by doing a search on the adminmail.php file. Make sure you backup before making the change!

 

HTH, Tony

 

Thank you Tony This is the line that needs to be changed and it works like a charm,

 

Go in admin folder.

Admin | mail.php

Open go to line = 40

$mimemessage->add_text($message);

And change it to

$mimemessage->add_html($message);

Save, and then test it,

Works like a charm,

 

Wayne

Carrz-Fox-Fire Promotions

Thank You

Wayne & Carr Barron

Link to comment
Share on other sites

Some of the contribs like discount coupons and gift voucher that send out e-mails also have that set in their respective files.

 

Glad that worked.

 

Tony

Link to comment
Share on other sites

Ok it, some kinda worked out for me

But only when i send e-mail sepperate ore to each one of the costumers

But NOT when i want to send a Newsletter,is there some thing i forgot,ore is there another line in another php file i have to change?

But i am really happy now to get it to work some kinda way 8) you guys rock

I hope that 1 of the smart asses makes a contrubution to auto insert new products ore something like that

 

KEEP THE GOOD WORK GOING ON, ALL OF YOU

(so i can stay at home :lol: )

Link to comment
Share on other sites

hehe,wel i treid something myself

and i did it in one single try to each file WOW

do the same in

wwwcatalogadminincludesmodulesnewsletters

 

in the newsletter.php and in the product_notification

8) :P

Link to comment
Share on other sites

I do two html newsletters every two months for our two divisions! using constantcontact.com it would make life easier if I can put a similar newsletter together out of OSC, I have tried various ways but no cigar so far! :?

 

http://www.ferno.com.au/docs/emerg/When_it...bruary_2003.htm

http://www.ferno.com.au/docs/rescue/Ferno%...0Newsletter.htm

Life is a highway!

Link to comment
Share on other sites

Make sure you put the entire address to the image or alternatively you can put a base url in the head portion and then use the short paths.

 

Tony 8)

Link to comment
Share on other sites

i (<<<<Genius  :lol: )keep it simple send youre own page with the new products to youre own e-mail,copy the source from it and paste it in youre newsletter  :wink:

 

What I usually do, is in Dreamweaver, I create the page, and then bring

It into Outlook. and change all "images" paths to the actual URL to the images

So that I make sure that everything is done properly.

This is something that I have done for several companies in the town that

I live in for several years now, and it works like a charm.

At one time I even got a request in from a company in Germany, To do an

HTML E-mail for them, and it took about "35 minutes" to make the e-mail for

them, and then send it out to "500" people of which it was sent out from our

Mail Server, and made "$1,500.00" for that single HTML E-mail request.

So it is something good to get into.

HTML E-mail is simple to do, BUT!!!!!!!! If you do not set it up to take the

Fully qualified image address, and you build it in Outlook, You can really

mess up, and send all the images as "Attachments" :-( Not a very good

Thing to do.

 

Take Care

Wayne

Carrz-Fox-Fire Promotions

Thank You

Wayne & Carr Barron

Link to comment
Share on other sites

  • 8 months later...

i took a look at how newsletter.php selects the people to email to. it querys TABLE_CUSTOMERS

 

i think all you would need to do is insert a table called TABLE_EMAIL_NEWSLETTER or something like that. then create an infobox that post to that table

 

then you could copy newsletter.php and change the name and then have it query the new table. or just add it into newsletter.php, then you wouldn't need to send it twice.

 

does that sound about right?

Link to comment
Share on other sites

I had a look at that newsletter contribution and to be honest I didn't like it and it was too fat for what I wanted.

 

I have just finished my own newstter module. It allows people without an account to subscribe/unsubscribe to my 1 or more newsletters and does the same for customers with accounts.

 

I have removed the newsletter field from the CUSTOMERS table and have created two new tables.... NEWSLETTERS and NEWSLETTERS_CUSTOMERS.

 

NEWSLETTERS stored info on each newsletter we offer (two at the moment) and NEWSLETTERS_CUSTOMERS is thre joining table between NEWSLETTERS and CUSTOMERS which stored each customers subscriptions and also email addresed of customers without account who have subscribed.

 

There is also a lot of smarts built in to it where if a new customer creates an account and their e-mail address is subscribed to newsletter(s) then it removes those subscriptions and replaces them with the ones they selected during the create account process.

 

This is much more flexible as well because it allows me to add more newsletters into NEWSLETTERS and our customers will then be able to subscribe to them.

 

There is also an infobox that allows customers to modify their subscriptions etc...

 

 

I couldn't understand for the life of me why the other newsletter contribution I had a look at didn't do this.... it was just full of fat I didn't need and it didn't work anyway. Pretty pointless.

Dan

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...