form mailer in Japanese
How can I get form mails in Japanese or Chinese not in garbled text?
How can I get form mails in Japanese or Chinese not in garbled text?
you can change the character set used for the email by editing the WA_UniversalEmail/WAUE_contact_1.php page.
find the following line:
$WA_MailObject = WAUE_Definition("".($WAGLOBAL_Email_Server) ."","25","","","","");
and add your selcted character set as the last argument:
$WA_MailObject = WAUE_Definition("".($WAGLOBAL_Email_Server) ."","25","","","","utf-8");
I cannot receive e-mails from my site form, so I cannot confirm if the procedure worked. I read the forum "not receiving e-mail" and see if I can get some feedback from my hosting provider.
Will reply soon. etsuko
I tried everything to be able to receive e-mails from my contact form.
Mail relay is done by GoDaddy formmailer@secureserver.net.
Any other suggestion?
GoDaddy can be problematic.
Make sure your hosting account with them is a Linux account, their Windows hosting does not support php mail.
Globals file, the smtp server to use for GoDaddy is:
smtpout.sercureserver.net
and port 25
you may need to hard code the from address.
in the WA_Universal_Email/WAUE_contact_1.php file.
Find the line:
$MailFrom = "".((isset($_POST["Email_address"]))?$_POST["Email_address"]:"") ."";
and change that to an address from your domain:
$MailFrom = "me@mydomain.com";
you may also need to edit the mail_PHP.php file, try changing:
$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader );
to:
$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader , "-f".$mailFrom);
My account in web-hosting.aspx?ci=1782&prog_id=SecurityUrl supports php5 (forIIS7a/c). I have contacted them, however I still don't get the answer. Also I cannot find a line :$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader ); in mail-PHP.php.
My test 'contactus pages' are :
contactusJapBU.html(form without using WEBASSIST)
contactus.php(with WEBASSIST)
The below is an e-mail coming through form mailer
button: send
ename: ????
enge-mail: info@transwebjp.com
tel_number: ???? (when numbers are put in full-size character)
textarea: Test: sending form in Japanese
Could you investigate this :
That is amazing how easy it is to fix any problem as soon as it gets to the status of the ex-problem. After I found the way to make my email work on GoDaddy with their Form Mailer, I took another look at SMTP and sure enough all peaces readily fall into place. Here is step-by-step instruction on how to setup and use SMTP with GoDaddy – the way God intended.
1. Get GoDaddy’s email account. I believe it comes with any domain registration or hosting package for free. Do not use external POP account (Google, Yahoo, Hotmail etc.). They all require SSL and custom port and you’ll get nothing but trouble. So sign up for internal GoDaddy mail account, your SMTP server will be smtp.secureserver.net (or whatever they assign you). The reason SMTP did not work for me is exactly that – it was blocked by firewall on my hosting server. So, let’s say you have domain “smith.com” with GoDaddy. When you create email account you will set user name and password, let’s say it is “john” and “password”. And your server is “smtp.secureserver.net”. This is how you create your client then:
2. In your code, create message - the usual way:
using System.Net.Mail;
MailMessage message = new MailMessage();
message.From = newMailAddress("me@us.com");
message.To.Add(new MailAddress("you@them.com"));
message.Subject = "test";
message.Body = "This is test";
3. Set up client and send message:
SmtpClient smtp = new SmtpClient("smtp.secureserver.net");
smtp.Credentials = new System.Net.NetworkCredential("john","password");
smtp.Port = 25;
smtp.EnableSsl = false;
smtp.Send(message);
Pretty easy - ones you understand why your message is not getting to smtp.gmail.com with SSL on through the port 465 (583, 995…). Because they all closed!
the problem is this:
The contact form solution pack uses the php mail function. GoDaddy windows hosting accounts do not support the php mail() function.
the mail function is only supported on GoDaddy's Linux hosting accounts.
GoDaddy will tell you otherwise, but Google is littered with people that cannot get mail sending using the mail() function on GoDaddys Windows hosting accounts.
Do not confuse what I am saying as meaning GaDaddy's windows hosting accounts do not support php.
I am only saying GoDaddy's windows hosting accounts do not support the mail() PHP function call.
the line:
$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader);
is at line 254 of the mail_PHP.php file
I checked old thread re:godaddy and did every possible thing and I still cannot receive e-mails using WA formmailer. I used another thirdparty formmailer.php and received e-mails but in garbled text.
Getting really desperate, have to find a host to deal with the issue. How could I test if form mail with Japanese input works with 1&1?. One more question: with 1&1 business a/c, 25 FTP means I can run 25 websites?. Best regards etsuko
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.