maybe somebody can give me example of form and file that sending email in drupal (using windows)

thanks

Comments

jnt’s picture

Hi, not sure if I understand your requirements however the webform module will send an email to a selected address when a form is filled out.

jnt

jnt’s picture

Hi, I just added a new patch that increases webforms functionality in email handling. It may be relevent to this thread, you can get it here: http://drupal.org/node/17433

jnt

fluffy2001’s picture

Thank you very much.
I'll try it.

http://www.geocities.com/oonlineslots/

Aran Deltac’s picture

Check out feedback.module as well.

Whether you are on windows or not does not really effect how well drupal sends e-mails. Since you are on windows you will, like someone on linux or anything else, need to make sure that your php.ini file is configured correctly for your network to send e-mail.

--
http://www.electroniclife.org/

Shawn Faison’s picture

Also if you are getting errors and dont have access to the php ini with your host you can use these two lines at the top of the php page thats calling the mail function.

ini_set(sendmail_from, "you@yoursite.com");
ini_set(SMTP, "mail.yourmailserver.com");

zakpet’s picture

Thanks Shawn Faison for the great patch!

Hooked on PHP worked for me!

g9mickey’s picture

Can you tell me what page I should add this text to? would it be mail.inc? Do I need to past it in in any particular place in the file? I have my site on crystal tech and they reccommend:

// Please specify your Mail Server - Example: mail.yourdomain.com.
ini_set("SMTP","mail.YourDomain.com");

// Please specify an SMTP Number 25 and 8889 are valid SMTP Ports.
ini_set("smtp_port","25");

// next two lines added by REW, CrystalTech
// Please specify the return address to use
ini_set('sendmail_from', 'ValidEmailAccount@YourDomain.com');

kussmaul’s picture