Image is Not display in email that send by Nopcommerce - nopcommerce

I am working on nopcommerce (version 3.60) message template i have put image and give also proper path to image location. Mail is sent properly but its not display image in gmail,yahoo. i have configure my mail template like below
<p><img src="http://example.org/Content/Images/logo (2).png" alt="" width="173" height="86" /></p>
<p>%Store.Name%<br /> <br /> To activate your account click here. <br /> <br /> %Store.Name%</p>
Is any configuration missing please tell me. and also is gmail or yahoo denied image to be display in mail for security?
Thank you in Advance.

It's easy for a hacker to replace the image src attribute with a Javascript file that send a request on behalf of an authenticated user to a particular site and do some damage, this is called CSRF attack, for this reason they don't show pictures in emails to protect their users, they show image if it's coming from a trusted source.

Related

WordPress won't let me change my administration email address :(

I'm trying to set my domain name email (something like username#mywebiste.com) to be the one that my website users can send messages to when they click on "send messages" on my website. I put my personal email for my administration email when I signed up for WordPress and now I want to change it to my domain name email. I went to WordPress Dashboard --> Settings --> General, I typed my domain name email and clicked on save changes and nothing changed. It still has my personal email as my admin email. How can I fix this?
Just FYI, I'm a total beginner with no code knowledge who has just started learning on making my own website with a store bought theme. So I would appreciate if you can explain in simple and easy ways. Thank you in advance:)
Have a great day!

Contact Form 7 showing sent message but not receiving email

Experiencing issue with WP plugin, contact form 7. When I fill in the form and submit, I receive a success message stating it was sent yet I don't receive it in my emails.
The mail is not in my junk and I only received the message in my email when I input the email its being send to!?
The email it is going to is an exchange account. I can see the emails coming through using a contact form submission on the WP backend. But would like to resolve this issue.
Form
[text* your-name placeholder "Name"]
[email* your-email placeholder "Email Address"]
[text* your-dob placeholder "DOB"]
<p>Which Challenge(s) would you like to enter?</p>
[checkbox* select-challenge "1" "2" "3"]
</br>
Please tick here that you have read and accepted the [popup_trigger
classes="popmake-food-challenge-tcs"]
<u>terms & conditions</u>[/popup_trigger] for entry & participation.
[acceptance acceptance-997]
[submit "Send"]
Mail
To: myname#company.com
From: Website
Subject: Challenge
Reply-To: [your-email]
From: [your-name] <[your-email]>
Eating Challenge Registration
Name: [your-name]
Email: [your-email]
DOB: [your-dob]
Challenge(s): [select-challenge]
I also checked with website host that they use wp_mail() and was confirmed they do. As other contact forms send - bar this one.
Try setting the from: email address to wordpress#yourdomain.com. Contact Form 7 support recommends setting the from address as being on your own domain, so that the website's mailer program doesn't think it is spoofing the email being sent (sending it from an incorrect email address).
If that doesn't work, best to use a plugin like WP Mail SMTP Plugin.
I set it up to send contact form emails through our Gmail account, which worked well. Instructions here.
SMTP Plugins are a Band-aid Solution
The reason people use SMTP plugins is because they have not set up their own domains properly; so, they route their emails through their email hosting company under the expectation that THEIR domain is both set up properly and permissive enough to accept the email that needs to be forwarded. So, let's say your website is at example#mywebsite.com and your email is example#gmail.com, then you can use an SMTP plugin to send an email to gmail.com, and then gmail resends it on your behalf.
As you can see, this is a clunky work around, and does not actually fix the problem of not being able to send email from your website directly. There are a few use cases where this is a problem:
If you want to actually send the email from example#mywebsite.com and not expose your example#gmail.com address to the public.
If your email provider does not support SMTP.
Some anti-spam tools may block emails routed this way, because SMTP can be a sign of spoofing through a hacked account. This almost always leads to problems when using the Mail(2) feature to send confirmation emails to the client since you are pretty much guaranteed that some of them will use spam filters that will block it.
You may also need to send emails through other means (not contact form 7) that does not work with your SMTP plugin.
A Better Solution
The best way to fix deliverability issues to to set up your DKIM, SPF, and PTR records properly in your DNS.
If you are using cPanel as most hosting companies seem to do these days, you need to go to EMAIL > Email Deliverability and it will show you warnings if you need to update your DNS. If you do, just copy the records it auto generates into your Domain's DNS and this should fix the problem. Unlike trying to route through someone else's server to send emails, this will set up YOUR server to send them properly thus alleviating all of the above mentioned issues.
This is just as easy to set up as most SMTP plugins, and makes it so you don't have to clutter your WordPress install with unnecessary plugins.
If you do not have cPanel access, just contact your Domain Hosting provider and ask that they setup your DKIM, SPF, and PTR. If your Domain Hosting provider and your Web Hosting provider are two different companies, you may need to request the proper DNS records from your web hosting company to either put in your self or give to your domain hosting company.
when I have a problem about wp contact form I always solve that with using smtp plugin. I suggest you to use wp smtp mail plugin.
Easy SMTP WP plugin page on wordpress.org
If any problem after using smtp plugin, reply this post I will try to help you again.
I have this problem in my website.
Some hosting companies block automatic email sending, because some user uses the host for sending email marketing. So, I think you can contact your host provider to solve this problem.

how to send form data in orchard CMS

I'm using a form in my orchard website. How i can sent the form data to an email
address?
My form is like
<form>
<input type="text" name="name">
<input type="submit"name="submit" value="submit">
</form>
Orchard has built-in ways to do this. If you enable the Dynamic Forms, Email Messaging and Email Workflows Activities modules you can build forms and send emails with the submitted values, without writing a single line of code.
When you enable the Email Messaging module you will be prompted to configure the email settings. The only mandatory settings are Sender email address and host name. You can enter any email address here and use localhost for testing purposes.
If you want to show the form on every page, you don't need to edit the Layout.cshtml file. In fact there's rarely a reason to do so. Instead, go to the Widgets menu in the dashboard and add a new Form Widget to the default layer. Which zone you place it in is entirely up to you. In the editor of the widget you can build a form by dragging Dynamic Form elements to the layout.
Once you have your form set up, you can create a new workflow through the Workflows menu that sends an email every time your form is submitted. Simply start off with a Dynamic Form Submitted trigger to begin the workflow and link it to a Send Email activity. You can reference the form values in any of the email fields by using tokens, e.g.:
<div>Name: {FormSubmission.Field:Name}</div>
You can find step by step guides on dynamic forms and workflows in the official documentation:
http://docs.orchardproject.net/en/latest/Documentation/Creating-Dynamic-Forms/
http://docs.orchardproject.net/en/latest/Documentation/Workflows/
Just ignore the part on Custom Forms when you get to Workflows, since those are outdated.

FTP user credentials in iframe

I have an iframe that contains protected ftp address
<iframe id="ftpfrm" src="ftp://ftpserver" </iframe>
But when I display the page, it doesn't ask for ftp user name and password. The frame displays an error page.
I need to know if there's a way to force the iframe to ask for user credentials, or to pass the user credentials to the uframe tag.
thanks.
You could try the following to login the user (which i would not recommend):
<iframe id="ftpfrm" src="ftp://user:password#ftpserver" />

Fake Image using .aspx url to track email views in Outlook, doesn't work!

I have this in my HTML email to track if someone views the email in say Outlook.
<img src="http://www.example.com/track.ashx?user=3434" />
but this doesn't seem to work.
Should I change my headers in the .ashx to server image headers? (if there are any?)
Can this work using this method?
I emailed myself with an email, other images displayed properly. There was no log in the database for the handler (the handler logs all requests to the db). Calling the URL to the file in the browser logs to the db, so its working.
What testing have you done? A lot of email clients these days don't download images associated with an email unless the user explicitly requests it or adds the sender to a whitelist. It's possible your HTML and server are all correct, but the client just isn't attempting to go to the URL.
Are the email clients set to display pictures? Many don't by default.

Resources