Welcome Guest!

If you do not have an account yet on The Web Squeeze forums, please Register! It's FREE and there are many benefits:

  • Receive Fast Advice
  • Learn Programming Languages
  • Get Professional Website Reviews
  • Quick Troubleshooting Assistance

> Wp-e-commerce And Mail() Functions With Webfaction

This is a discussion on Wp-e-commerce And Mail() Functions With Webfaction, within the CMS's, Blogs and Forums Software section. This forum and the thread "Wp-e-commerce And Mail() Functions With Webfaction" are both part of the Designing Your Website category.

 
Reply to this topicStart new topic
> Wp-e-commerce And Mail() Functions With Webfaction, uh oh, webfaction doesn't like php's mail().. workaround?
cosmicbdog
post Jun 29 2009, 02:07 AM
Post #1


Rapid Squeezer
****

Posts: 246
Joined: 3-July 08

This post I'm targeting at Japh since I know he is somewhat familiar with wp-ecommerce plugin for wordpress.

I've just shifted to WebFaction and didn't realise its mail() function doesn't do anything. WebFaction disable it for shared servers. Doh! The problem is my receipts are dispatched via mail() as well as some extra stuff I included to autotically send the order to the supplier.

Is there an easy workaround you know of? Like something that rewrites the mail() function perhaps? I found http://coffee2code.com/wp-plugins/#configure-smtp hoping it would do the job, and while Wordpress is now sending via this, wp-ecommerce isn't affected. sad.gif

Any ideas? Quick fixes?
Go to the top of the page
 
+Quote Post
cosmicbdog
post Jun 29 2009, 03:23 AM
Post #2


Rapid Squeezer
****

Posts: 246
Joined: 3-July 08

I've now installed SwiftMail http://swiftmailer.org/

Now to integrate it with wp-ecommerce transaction results page. At the very least, its interesting learning an entirely new method of sending mail beyond the old and worn out mail() function. I'm dissapointed though that wp-ecommerce haven't caught up.
Go to the top of the page
 
+Quote Post
japh
post Jun 29 2009, 07:07 AM
Post #3


Squeeze Machine
Group Icon

Posts: 932
Joined: 7-October 08
From: Australia

Hey mate, I am fairly familiar with WordPress, WP e-Commerce, and WebFaction... so if I can't be of any help on this one... I'm leaving! tongue.gif

Anyway, I'd try this WP plugin if I were you, and see how that goes: http://www.callum-macdonald.com/code/wp-mail-smtp/

The premise being that WordPress has a wp_mail() function, that by default uses mail(). This plugin changes it to use SMTP instead (and gives you an options panel to configure it), and so hopefully if WP e-Commerce is written right, it should just be calling wp_mail() and will thusly be fixed! biggrin.gif

Give it a shot and see how you go smile.gif


--------------------
Go to the top of the page
 
+Quote Post
cosmicbdog
post Jun 29 2009, 11:46 PM
Post #4


Rapid Squeezer
****

Posts: 246
Joined: 3-July 08

QUOTE (japh @ Jun 29 2009, 10:07 PM) *
Hey mate, I am fairly familiar with WordPress, WP e-Commerce, and WebFaction... so if I can't be of any help on this one... I'm leaving! tongue.gif

Anyway, I'd try this WP plugin if I were you, and see how that goes: http://www.callum-macdonald.com/code/wp-mail-smtp/

The premise being that WordPress has a wp_mail() function, that by default uses mail(). This plugin changes it to use SMTP instead (and gives you an options panel to configure it), and so hopefully if WP e-Commerce is written right, it should just be calling wp_mail() and will thusly be fixed! biggrin.gif

Give it a shot and see how you go smile.gif


Hey Japh! thanks for this. I was so excited hoping it would work, and the test smtp works with the plugin. but when it comes to wp-e-commerce it just doesn't seem to use it. Even though it clearly uses wp_mail() as the function to do the sending. I've grep'd all the code to see if there is anything in wp-e-commerce to see if they've done some of their own changes to the function but it doesn't appear they do. So technically it should work. I'm missing something.

For the time being I have got swiftmailer working.

Thanks anyways mate
Go to the top of the page
 
+Quote Post
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   9 caminowebmaster 1,177 15th February 2008 - 06:24 PM
Last post by: Jacob
No New Posts   3 c010depunkk 1,604 21st February 2008 - 09:41 AM
Last post by: c010depunkk
No New Posts   9 thesealportalteam 1,456 17th March 2008 - 12:24 PM
Last post by: thesealportalteam
No New Posts   9 Justify 893 29th March 2008 - 10:56 PM
Last post by: JustinStudios
No New Posts   1 graisbeck 720 8th April 2008 - 09:45 AM
Last post by: JustinStudios